[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board
On Fri, Oct 16, 2015 at 03:25:13PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 16, 2015 at 3:20 PM, Maxime Ripard >wrote: > > Hi, > > > > On Mon, Oct 12, 2015 at 05:42:10PM +0800, Chen-Yu Tsai wrote: > >> On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: > >> >> + { > >> >> + /* Available on camera header */ > >> >> + pinctrl-names = "default"; > >> >> + pinctrl-0 = <_pins_a>; > >> >> + status = "okay"; > >> >> +}; > >> >> + > >> >> + { > >> >> + /* Available on LCD header */ > >> >> + pinctrl-names = "default"; > >> >> + pinctrl-0 = <_pins_a>; > >> >> + status = "okay"; > >> >> +}; > >> > > >> > Are those two actually used anywhere on the board itself, or just > >> > exposed on the pin headers? > >> > >> They are exposed as grouped headers. 1 header has all the camera > >> related stuff, like the CSI pins, and various voltage sources > >> from the PMIC. The other has the LCD pins, resistive touchpanel, > >> I2C for capacitive touchpanel, and of course voltage sources. > >> > >> The LCD header is an FPC connector, while the camera header is > >> the common (common for sunxi devboards) 2.0mm pins. I'm not sure > >> if there is some common pinout amongst vendors, but at least > >> Sinlinx sells their own 7" LCD display w/ CTP, VGA converter, > >> and camera modules. I have both the LCD and VGA converter. > >> > >> Note that these I2C pins have valid external pull-ups. I doubt > >> they can be easily re-purposed. > > > > Still, the policy we've had so far is that if the user can use it for > > something else (like a GPIO, which is the case here), we don't do > > enforce any default, and the user will make the right choice. > > To clarify, unless an actual device is connected, forcing a choice, > we won't make that choice for the user, even if the connector is > specifically designed for one type of application. > > Did I get that right? Yep. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: Digital signature
[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board
Hi, On Mon, Oct 12, 2015 at 05:42:10PM +0800, Chen-Yu Tsai wrote: > On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripard >wrote: > > Hi, > > > > On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: > >> + { > >> + /* Available on camera header */ > >> + pinctrl-names = "default"; > >> + pinctrl-0 = <_pins_a>; > >> + status = "okay"; > >> +}; > >> + > >> + { > >> + /* Available on LCD header */ > >> + pinctrl-names = "default"; > >> + pinctrl-0 = <_pins_a>; > >> + status = "okay"; > >> +}; > > > > Are those two actually used anywhere on the board itself, or just > > exposed on the pin headers? > > They are exposed as grouped headers. 1 header has all the camera > related stuff, like the CSI pins, and various voltage sources > from the PMIC. The other has the LCD pins, resistive touchpanel, > I2C for capacitive touchpanel, and of course voltage sources. > > The LCD header is an FPC connector, while the camera header is > the common (common for sunxi devboards) 2.0mm pins. I'm not sure > if there is some common pinout amongst vendors, but at least > Sinlinx sells their own 7" LCD display w/ CTP, VGA converter, > and camera modules. I have both the LCD and VGA converter. > > Note that these I2C pins have valid external pull-ups. I doubt > they can be easily re-purposed. Still, the policy we've had so far is that if the user can use it for something else (like a GPIO, which is the case here), we don't do enforce any default, and the user will make the right choice. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: Digital signature
[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board
On Fri, Oct 16, 2015 at 3:20 PM, Maxime Ripardwrote: > Hi, > > On Mon, Oct 12, 2015 at 05:42:10PM +0800, Chen-Yu Tsai wrote: >> On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: >> >> + { >> >> + /* Available on camera header */ >> >> + pinctrl-names = "default"; >> >> + pinctrl-0 = <_pins_a>; >> >> + status = "okay"; >> >> +}; >> >> + >> >> + { >> >> + /* Available on LCD header */ >> >> + pinctrl-names = "default"; >> >> + pinctrl-0 = <_pins_a>; >> >> + status = "okay"; >> >> +}; >> > >> > Are those two actually used anywhere on the board itself, or just >> > exposed on the pin headers? >> >> They are exposed as grouped headers. 1 header has all the camera >> related stuff, like the CSI pins, and various voltage sources >> from the PMIC. The other has the LCD pins, resistive touchpanel, >> I2C for capacitive touchpanel, and of course voltage sources. >> >> The LCD header is an FPC connector, while the camera header is >> the common (common for sunxi devboards) 2.0mm pins. I'm not sure >> if there is some common pinout amongst vendors, but at least >> Sinlinx sells their own 7" LCD display w/ CTP, VGA converter, >> and camera modules. I have both the LCD and VGA converter. >> >> Note that these I2C pins have valid external pull-ups. I doubt >> they can be easily re-purposed. > > Still, the policy we've had so far is that if the user can use it for > something else (like a GPIO, which is the case here), we don't do > enforce any default, and the user will make the right choice. To clarify, unless an actual device is connected, forcing a choice, we won't make that choice for the user, even if the connector is specifically designed for one type of application. Did I get that right? Thanks ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board
Hi, On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: > + { > + /* Available on camera header */ > + pinctrl-names = "default"; > + pinctrl-0 = <_pins_a>; > + status = "okay"; > +}; > + > + { > + /* Available on LCD header */ > + pinctrl-names = "default"; > + pinctrl-0 = <_pins_a>; > + status = "okay"; > +}; Are those two actually used anywhere on the board itself, or just exposed on the pin headers? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: Digital signature
[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board
On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripardwrote: > Hi, > > On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: >> + { >> + /* Available on camera header */ >> + pinctrl-names = "default"; >> + pinctrl-0 = <_pins_a>; >> + status = "okay"; >> +}; >> + >> + { >> + /* Available on LCD header */ >> + pinctrl-names = "default"; >> + pinctrl-0 = <_pins_a>; >> + status = "okay"; >> +}; > > Are those two actually used anywhere on the board itself, or just > exposed on the pin headers? They are exposed as grouped headers. 1 header has all the camera related stuff, like the CSI pins, and various voltage sources from the PMIC. The other has the LCD pins, resistive touchpanel, I2C for capacitive touchpanel, and of course voltage sources. The LCD header is an FPC connector, while the camera header is the common (common for sunxi devboards) 2.0mm pins. I'm not sure if there is some common pinout amongst vendors, but at least Sinlinx sells their own 7" LCD display w/ CTP, VGA converter, and camera modules. I have both the LCD and VGA converter. Note that these I2C pins have valid external pull-ups. I doubt they can be easily re-purposed. Regards ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.