You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
pwm: rockchip: fix the comment for the tx_value of IR transmit function
Fixes: 9be1108fc5 ("pwm: rockchip: add support for IR NEC transmit")
Change-Id: I90ccf6131178d619ed4205886e28960a9a6c384b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -1944,8 +1944,13 @@ static int rockchip_pwm_ir_transmit_v4(struct pwm_chip *chip, unsigned int *txbu
|
||||
* txbuf[4]: the high duration of NEC logic '0'.
|
||||
* txbuf[5]: the high duration of NEC logic '1'.
|
||||
* txbuf[6]:
|
||||
* bit[31:24] bit[23:16] bit[15:8] bit[7:0]
|
||||
* address code address inverted code command code command inverted code
|
||||
* For 8-bit address code:
|
||||
* bit[31:24] bit[23:16] bit[15:8] bit[7:0]
|
||||
* command inverted code command code address inverted code address code
|
||||
*
|
||||
* For 16-bit address code:
|
||||
* bit[31:24] bit[23:16] bit[15:8] bit[7:0]
|
||||
* command inverted code command code address code bit[15:8] address code bit[7:0]
|
||||
*/
|
||||
preload = txbuf[0] << IR_TRANS_OUT_LOW_PRELOAD_SHIFT |
|
||||
txbuf[1] << IR_TRANS_OUT_HIGH_PRELOAD_SHIFT;
|
||||
|
||||
Reference in New Issue
Block a user