Re: [linux-sunxi] [PATCH v2] ARM: dts: sun7i: Correct USB regulators on pcDuino v3 Nano

2015-10-10 Thread Chen-Yu Tsai
On Sat, Oct 10, 2015 at 8:52 PM, Adam Sampson wrote: > The LinkSprite pcDuino v3 Nano's two USB host ports are powered by a > single RT9701GB regulator, which has its enable input tied to the A20's > PD2 pin, pulled up to 3v3 via a 10k resistor. > > However, the script.bin that

[linux-sunxi] Hardware question, FPC connectors.

2015-10-10 Thread jonsm...@gmail.com
I have some 24pin flex cable CIF cameras here. They are labeled with pin 1 and pin 24. But some of them have the metal lands on the top side of the FPC cable and some of them have the metal on the bottom side of the cable. The matching connector on the PCB is also labeled for pin 1 and pin 24.

[linux-sunxi] [PATCH v2 2/5] ARM: dts: sunxi: Add dtsi for AXP22x PMIC

2015-10-10 Thread Chen-Yu Tsai
The AXP22x family of PMIC is used with some Allwinner SoCs. This includes the AXP221, AXP221s and AXP223. They differ in the host interface, maximum supply current for DCDC1 regulator, and default voltage and state for various LDO regulators. Also, the AXP221s does not support fine calibration of

[linux-sunxi] [PATCH v2 4/5] ARM: dts: sun6i: hummingbird: Enable AXP221 DC5LDO regulator as "vdd-cpus"

2015-10-10 Thread Chen-Yu Tsai
The DC5LDO regulator supplies VDD-CPUS, which is for the embedded controller in the A31 SoC. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts

[linux-sunxi] [PATCH v2 1/5] ARM: dts: sun6i: hummingbird: Fix VDD-CPU and VDD-GPU regulator names

2015-10-10 Thread Chen-Yu Tsai
The VDD-CPU and VDD-GPU regulators were incorrectly swapped. Fixes: bab03561224ba ("ARM: dts: sun6i: hummingbird: Add AXP221 regulator nodes") Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 8 1 file changed, 4 insertions(+), 4

[linux-sunxi] [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board

2015-10-10 Thread Chen-Yu Tsai
The Sinlinx A31s SDK is a A31s based module/baseboard development kit. The core module has the SoC, PMIC, DRAM, eMMC and supporting components. There are also pads for UART0, JTAG and I2S. The baseboard has 100 Mbps Ethernet, 5x USB 2.0 host ports via a USB 2.0 hub chip, MMC, HDMI, SPDIF, CIR,

[linux-sunxi] [PATCH v2 0/5] ARM: sunxi: Sinlinx SinA31s support / AXP22x dtsi conversion

2015-10-10 Thread Chen-Yu Tsai
Hi Maxime, This is v2 of the Primo81/SinA31s series. I dropped the Primo81 stuff as it needs more work. Changes since v1: - Requires "ARM: dts: sun6i: hummingbird: Drop AXP221 DC1SW and DC5LDO supplies" - Dropped already merged patches - Dropped Primo81 patch; needs more work to

[linux-sunxi] [PATCH v2 3/5] ARM: dts: sun6i: hummingbird: Use axp22x.dtsi for AXP221 regulators

2015-10-10 Thread Chen-Yu Tsai
Now that we have axp22x.dtsi describing common axp22x hardware, use it and reference the nodes instead of declaring the whole tree. Also drop the "always-on" from the vdd-gpu regulator, since we don't support the GPU anyway. And add a regulator reference for cpu0. Signed-off-by: Chen-Yu Tsai

[linux-sunxi] [PATCH] ARM: dts: sun7i: Add regulator configuration for pcDuino v3 Nano

2015-10-10 Thread Adam Sampson
The power configuration on this board is the same as the pcDuino v3. This will enable frequency/voltage scaling over the standard A20 operating points from 144 MHz to 960 MHz. Tested using cpufreq-ljt-stress-test on two pcDuino v3 Nano boards; also tested successfully with voltages reduced by

[linux-sunxi] Re: [A33] Linux 3.4.39 - usbserial, ftdi_sio

2015-10-10 Thread Luke
I'm running into an identical issue...did you find a solution? writes: > > I am trying to compile a USB serial driver (ftdi_sio.ko), so the tablet will recognize FTXXX devices. On my > own, I am not having success. > > The tablet I have has an A33 processor (Model V11; Processor

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet

2015-10-10 Thread Hans de Goede
Hi Maxime, I wanted to discuss this with you at ELCE, but I forgot. I still believe that just setting the regulator to always-on is the best option, see the end of the quoted mail why I think that the other options are not a good idea. I would really like to see this resolved... On 22-09-15

Re: [linux-sunxi] [PATCH] ARM: dts: sun7i: Correct USB regulators on pcDuino v3 Nano

2015-10-10 Thread Adam Sampson
Chen-Yu Tsai writes: > Since Siarhei spotted the issue, maybe add a Reported-by tag where credit > is due? Will do. >> _ahci_5v { >> + pinctrl-names = "default"; [twice] > > This is already in sunxi-common-regulators.dtsi. > No need to add it again. OK -- fixed. v2

[linux-sunxi] [PATCH v2] ARM: dts: sun7i: Correct USB regulators on pcDuino v3 Nano

2015-10-10 Thread Adam Sampson
The LinkSprite pcDuino v3 Nano's two USB host ports are powered by a single RT9701GB regulator, which has its enable input tied to the A20's PD2 pin, pulled up to 3v3 via a 10k resistor. However, the script.bin that shipped with the device listed PH11 and PH3 as Vbus control pins for the two USB