Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] Documentation: devicetree: move shared property used by rc into a common place

Most IR drivers uses the same label to identify the
scancode/key table they used by multiple bindings and lack
explanation well. So move the shared property into a common
place and give better explanation.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Sean Wang and committed by
Mauro Carvalho Chehab
330d432b 6691e7b9

+120 -3
+2 -1
Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
··· 5 5 - gpios: specifies GPIO used for IR signal reception. 6 6 7 7 Optional properties: 8 - - linux,rc-map-name: Linux specific remote control map name. 8 + - linux,rc-map-name: see rc.txt file in the same 9 + directory. 9 10 10 11 Example node: 11 12
+1 -1
Documentation/devicetree/bindings/media/hix5hd2-ir.txt
··· 10 10 - clocks: clock phandle and specifier pair. 11 11 12 12 Optional properties: 13 - - linux,rc-map-name : Remote control map name. 13 + - linux,rc-map-name: see rc.txt file in the same directory. 14 14 - hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files. 15 15 Provide correct clocks instead. 16 16
+116
Documentation/devicetree/bindings/media/rc.txt
··· 1 + The following properties are common to the infrared remote controllers: 2 + 3 + - linux,rc-map-name: string, specifies the scancode/key mapping table 4 + defined in-kernel for the remote controller. Support values are: 5 + * "rc-adstech-dvb-t-pci" 6 + * "rc-alink-dtu-m" 7 + * "rc-anysee" 8 + * "rc-apac-viewcomp" 9 + * "rc-asus-pc39" 10 + * "rc-asus-ps3-100" 11 + * "rc-ati-tv-wonder-hd-600" 12 + * "rc-ati-x10" 13 + * "rc-avermedia-a16d" 14 + * "rc-avermedia-cardbus" 15 + * "rc-avermedia-dvbt" 16 + * "rc-avermedia-m135a" 17 + * "rc-avermedia-m733a-rm-k6" 18 + * "rc-avermedia-rm-ks" 19 + * "rc-avermedia" 20 + * "rc-avertv-303" 21 + * "rc-azurewave-ad-tu700" 22 + * "rc-behold-columbus" 23 + * "rc-behold" 24 + * "rc-budget-ci-old" 25 + * "rc-cec" 26 + * "rc-cinergy-1400" 27 + * "rc-cinergy" 28 + * "rc-delock-61959" 29 + * "rc-dib0700-nec" 30 + * "rc-dib0700-rc5" 31 + * "rc-digitalnow-tinytwin" 32 + * "rc-digittrade" 33 + * "rc-dm1105-nec" 34 + * "rc-dntv-live-dvbt-pro" 35 + * "rc-dntv-live-dvb-t" 36 + * "rc-dtt200u" 37 + * "rc-dvbsky" 38 + * "rc-empty" 39 + * "rc-em-terratec" 40 + * "rc-encore-enltv2" 41 + * "rc-encore-enltv-fm53" 42 + * "rc-encore-enltv" 43 + * "rc-evga-indtube" 44 + * "rc-eztv" 45 + * "rc-flydvb" 46 + * "rc-flyvideo" 47 + * "rc-fusionhdtv-mce" 48 + * "rc-gadmei-rm008z" 49 + * "rc-genius-tvgo-a11mce" 50 + * "rc-gotview7135" 51 + * "rc-hauppauge" 52 + * "rc-imon-mce" 53 + * "rc-imon-pad" 54 + * "rc-iodata-bctv7e" 55 + * "rc-it913x-v1" 56 + * "rc-it913x-v2" 57 + * "rc-kaiomy" 58 + * "rc-kworld-315u" 59 + * "rc-kworld-pc150u" 60 + * "rc-kworld-plus-tv-analog" 61 + * "rc-leadtek-y04g0051" 62 + * "rc-lirc" 63 + * "rc-lme2510" 64 + * "rc-manli" 65 + * "rc-medion-x10" 66 + * "rc-medion-x10-digitainer" 67 + * "rc-medion-x10-or2x" 68 + * "rc-msi-digivox-ii" 69 + * "rc-msi-digivox-iii" 70 + * "rc-msi-tvanywhere-plus" 71 + * "rc-msi-tvanywhere" 72 + * "rc-nebula" 73 + * "rc-nec-terratec-cinergy-xs" 74 + * "rc-norwood" 75 + * "rc-npgtech" 76 + * "rc-pctv-sedna" 77 + * "rc-pinnacle-color" 78 + * "rc-pinnacle-grey" 79 + * "rc-pinnacle-pctv-hd" 80 + * "rc-pixelview-new" 81 + * "rc-pixelview" 82 + * "rc-pixelview-002t" 83 + * "rc-pixelview-mk12" 84 + * "rc-powercolor-real-angel" 85 + * "rc-proteus-2309" 86 + * "rc-purpletv" 87 + * "rc-pv951" 88 + * "rc-hauppauge" 89 + * "rc-rc5-tv" 90 + * "rc-rc6-mce" 91 + * "rc-real-audio-220-32-keys" 92 + * "rc-reddo" 93 + * "rc-snapstream-firefly" 94 + * "rc-streamzap" 95 + * "rc-tbs-nec" 96 + * "rc-technisat-ts35" 97 + * "rc-technisat-usb2" 98 + * "rc-terratec-cinergy-c-pci" 99 + * "rc-terratec-cinergy-s2-hd" 100 + * "rc-terratec-cinergy-xs" 101 + * "rc-terratec-slim" 102 + * "rc-terratec-slim-2" 103 + * "rc-tevii-nec" 104 + * "rc-tivo" 105 + * "rc-total-media-in-hand" 106 + * "rc-total-media-in-hand-02" 107 + * "rc-trekstor" 108 + * "rc-tt-1500" 109 + * "rc-twinhan-dtv-cab-ci" 110 + * "rc-twinhan1027" 111 + * "rc-videomate-k100" 112 + * "rc-videomate-s350" 113 + * "rc-videomate-tv-pvr" 114 + * "rc-winfast" 115 + * "rc-winfast-usbii-deluxe" 116 + * "rc-su3000"
+1 -1
Documentation/devicetree/bindings/media/sunxi-ir.txt
··· 9 9 - reg : should contain IO map address for IR. 10 10 11 11 Optional properties: 12 - - linux,rc-map-name : Remote control map name. 12 + - linux,rc-map-name: see rc.txt file in the same directory. 13 13 - resets : phandle + reset specifier pair 14 14 15 15 Example: