Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: raspberrypi/linux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: rpi-4.4.y
Choose a base ref
...
head repository: Al-/linux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rpi-4.4.y
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jan 10, 2017

  1. added hardware pulse-wave modulation to lirc_rpi

    Amended lirc_rpi.c (kernel module) to support hardware pulse wave modulation. The new kernel module has an additional parameter that can be provided when loading the module: pwmcarrier. If pwmcarrier=1 (which is mutually exclusive with softcarrier=1) then hardware pulse-wave modulation is used. The GPIO out pin needs to be 18 as this is to my knowledge the only pwm-enabled pin.
    
    Tested on RPi3 with raspbian / Linux 4.4.13-v7+
    - with a DVD player (38 kHz, duty cycle 50%)
    - with a visible light LED to confirm the effect of 25% (=dim), 50% and 75% (=bright) duty cycle.
    
    The raspberry Pi is hard-coded to model 3 (by #define RPI 3). In theory, untested, model 2 utilizes the same memory addresses. The provided memory addresses for model 0 and 1 are also untested.
    Al- authored Jan 10, 2017
    Configuration menu
    Copy the full SHA
    a0a8e47 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. in response to requests on lirc-list

    1) renamed pwmcarrier to hardpwm
    2) unmodulated signal if duty_cycle = 100%
    Al- authored Feb 6, 2017
    Configuration menu
    Copy the full SHA
    130257b View commit details
    Browse the repository at this point in the history
Loading