From: Albert H. <he...@us...> - 2009-03-02 18:45:02
|
Update of /cvsroot/gc-linux/linux/arch/powerpc/boot/dts In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1966/arch/powerpc/boot/dts Modified Files: wii.dts Log Message: [PATCH] wii: audio/video encoder support (RVL-AVE) From: Albert Herranz <alb...@ya...> Date: Sun, 1 Mar 2009 20:00:14 +0100 Subject: [PATCH] wii: audio/video encoder support (RVL-AVE) Add support for the audio/video encoder found on the Nintendo Wii video game console. Signed-off-by: Albert Herranz <alb...@ya...> Index: wii.dts =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/powerpc/boot/dts/wii.dts,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** wii.dts 1 Feb 2009 18:29:34 -0000 1.11 --- wii.dts 2 Mar 2009 18:44:59 -0000 1.12 *************** *** 32,36 **** /* root filesystem on 2nd partition of SD card, whiite style */ ! bootargs = "nobats root=/dev/rvlsda2 video=gcnfb:tv=NTSC force_keyboard_port=4 placeholder_for_additional_kernel_options_targetted_at_hexedit_lovers"; linux,stdout-path = "/exi@0d006800/usbgecko@0d006814"; }; --- 32,36 ---- /* root filesystem on 2nd partition of SD card, whiite style */ ! bootargs = "nobats root=/dev/rvlsda2 video=gcnfb force_keyboard_port=4 placeholder_for_additional_kernel_options_targetted_at_hexedit_lovers"; linux,stdout-path = "/exi@0d006800/usbgecko@0d006814"; }; *************** *** 159,162 **** --- 159,182 ---- compatible = "nintendo,starlet-hcd"; }; + + i2c-video { + #address-cells = <1>; + #size-cells = <0>; + compatible = "virtual,i2c-gpio"; + + gpios = <&gpio0 10 0 /* 0x10 = 31 - 15 */ + &gpio0 11 0 /* 0x11 = 31 - 14 */ + >; + sda-is-open-drain = <1>; + sda-enforce-dir = <1>; + scl-is-open-drain = <1>; + scl-is-output-only = <1>; + udelay = <2>; + + audio-video-encoder { + compatible = "nintendo,wii-ave-rvl"; + reg = <70>; + }; + }; }; }; |