[linux-sunxi] [PATCH v6 0/2] Initial Allwinner V3s CSI Support

2018-01-23 Thread Yong Deng
This patchset add initial support for Allwinner V3s CSI. Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patchset implement a v4l2 framework driver and add a

[linux-sunxi] [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-23 Thread Yong Deng
Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patch implement a v4l2 framework driver for it. Currently, the driver only support the parallel interface.

[linux-sunxi] [PATCH v6 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-23 Thread Yong Deng
Add binding documentation for Allwinner V3s CSI. Reviewed-by: Rob Herring Signed-off-by: Yong Deng --- .../devicetree/bindings/media/sun6i-csi.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644

[linux-sunxi] Re: [PATCH v3 06/16] mfd: axp20x: make AXP209/22x cells probe their ADC via DT

2018-01-23 Thread Lee Jones
On Mon, 15 Jan 2018, Quentin Schulz wrote: > This makes AXP209 and AXP22x ADCs probe first via DT and then by > fallback via platform. > > Signed-off-by: Quentin Schulz > --- > drivers/mfd/axp20x.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-)

[linux-sunxi] Re: [PATCH v3 09/16] mfd: axp20x: probe axp20x_adc driver for AXP813

2018-01-23 Thread Lee Jones
On Mon, 15 Jan 2018, Quentin Schulz wrote: > This makes the axp20x_adc driver probe with platform device id > "axp813-adc". > > Signed-off-by: Quentin Schulz > --- > drivers/mfd/axp20x.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) For my own

[linux-sunxi] [PATCH] nvmem: sunxi-sid: fix H3 SID controller support

2018-01-23 Thread Icenowy Zheng
It seems that doing some operation will make the value pre-read on H3 SID controller wrong again, so all operation should be performed by register. Change the SID reading to use register only. Signed-off-by: Icenowy Zheng --- drivers/nvmem/sunxi_sid.c | 71

[linux-sunxi] Re: CSI support for the H3

2018-01-23 Thread Martin Kelly
On 01/22/2018 11:46 PM, Maxime Ripard wrote: On Mon, Jan 22, 2018 at 05:29:05PM -0800, Martin Kelly wrote: On 01/22/2018 05:17 PM, Martin Kelly wrote: Hi, I'm wondering if someone knows the current status of CSI support for the Allwinner H3. I see on the linux-sunxi wiki that it's listed as

Re: [linux-sunxi] [PATCH v3 12/16] power: supply: axp20x_battery: add support for AXP813

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The X-Powers AXP813 PMIC has got some slight differences from > AXP20X/AXP22X PMICs: > - the maximum voltage supplied by the PMIC is 4.35 instead of 4.36/4.24 > for AXP20X/AXP22X, > - the constant

[linux-sunxi] Re: [PATCH v3 00/16] add support for AXP813 ADC and battery power supply

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The AXP813 PMIC is relatively close to the already supported AXP20X and > AXP22X. It provides three different power outputs: battery, AC and USB, and > measures a few different things: temperature, power

[linux-sunxi] Re: [PATCH v3 11/16] dt-bindings: power: supply: axp20x: add AXP813 battery DT binding

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The AXP813 can have a battery as power supply, so let's add it to the > list of compatibles. > > Signed-off-by: Quentin Schulz > Reviewed-by: Rob Herring

Re: [linux-sunxi] [PATCH v3 13/16] mfd: axp20x: add battery power supply cell for AXP813

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > As axp20x-battery-power-supply now supports AXP813, add a cell for it. > > Signed-off-by: Quentin Schulz > Acked-for-MFD-by: Lee Jones Acked-by:

[linux-sunxi] Re: [PATCH v3 06/16] mfd: axp20x: make AXP209/22x cells probe their ADC via DT

2018-01-23 Thread Chen-Yu Tsai
On Tue, Jan 23, 2018 at 5:54 PM, Lee Jones wrote: > On Mon, 15 Jan 2018, Quentin Schulz wrote: > >> This makes AXP209 and AXP22x ADCs probe first via DT and then by >> fallback via platform. >> >> Signed-off-by: Quentin Schulz >> --- >>

[linux-sunxi] Re: [PATCH v3 10/16] power: supply: axp20x_battery: use data structure instead of ID for

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > variant specific code Your subject somehow got wrapped incorrectly. > > We used to use IDs to select a function or a feature depending on the > variant. It's easier to maintain the code by adding data

[linux-sunxi] Re: [PATCH v3 16/16] ARM: dtsi: axp81x: remove IP name from DT node name

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The DT node should be named after its functionality and not after the > IP it's defining. > > Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai --

Re: [linux-sunxi] [PATCH v3 15/16] ARM: dtsi: sun8i: a711: enable battery power supply subnode

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The TBS A711 has an AXP813 PMIC and a soldered battery, thus, we enable > the battery power supply subnode in its Device Tree. > > Signed-off-by: Quentin Schulz

[linux-sunxi] Re: [PATCH v3 14/16] ARM: dtsi: axp81x: add battery power supply subnode

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > The X-Powers AXP81X PMIC exposes battery supply various data such as > the battery status (charging, discharging, full, dead), current max > limit, current current, battery capacity (in percentage),

[linux-sunxi] Re: [PATCH v3 09/16] mfd: axp20x: probe axp20x_adc driver for AXP813

2018-01-23 Thread Chen-Yu Tsai
On Tue, Jan 23, 2018 at 5:53 PM, Lee Jones wrote: > On Mon, 15 Jan 2018, Quentin Schulz wrote: > >> This makes the axp20x_adc driver probe with platform device id >> "axp813-adc". >> >> Signed-off-by: Quentin Schulz >> --- >>

[linux-sunxi] Re: [PATCH v3 05/16] ARM: dtsi: axp22x: add node for ADC

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > This adds a DT node for the ADC of the PMIC so that there can be > consumers of its IIO channels declaring their consumptions via DT. > > Signed-off-by: Quentin Schulz

[linux-sunxi] Re: [PATCH v3 08/16] ARM: dtsi: axp81x: add node for ADC

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > This adds a DT node for the ADC of the PMIC so that there can be > consumers of its IIO channels declaring their consumptions via DT. > > Signed-off-by: Quentin Schulz

[linux-sunxi] Re: [PATCH v3 04/16] ARM: dtsi: axp209: add node for ADC

2018-01-23 Thread Chen-Yu Tsai
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz wrote: > This adds a DT node for the ADC of the PMIC so that there can be > consumers of its IIO channels declaring their consumptions via DT. > > Signed-off-by: Quentin Schulz

[linux-sunxi] [PATCH 1/7] sunxi: binman: Fix U-Boot binary size check

2018-01-23 Thread Samuel Holland
If raw mode is disabled, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not defined, which breaks compiling the device trees. Only enable the size check when it actually matters--that is, when MMC raw mode is enabled. Signed-off-by: Samuel Holland ---

[linux-sunxi] [PATCH 7/7] sun50i: h5: Add support for the Orange Pi Zero Plus

2018-01-23 Thread Samuel Holland
The Orange Pi Zero Plus is a single board computer based on the Allwinner H5 SoC. It has 512MiB RAM, gigabit Ethernet, and one USB 2.0 port, with headers for two additional ports. Signed-off-by: Samuel Holland --- arch/arm/dts/Makefile | 1 +

[linux-sunxi] [PATCH 3/7] sun50i: a64: Move ethernet nodes to SoC DTS

2018-01-23 Thread Samuel Holland
These nodes were previously in an unused file specific to the Pine64. Move them to the base SoC device tree for use by other boards. Require individual boards to enable the emac and provide a pin configuration. Signed-off-by: Samuel Holland ---

[linux-sunxi] [PATCH 2/7] sun50i: a64: Fix USB clock/reset properties

2018-01-23 Thread Samuel Holland
Move the CLK_USB_OHCI0/1 clocks to the OHCI nodes where they belong, and make the format consistent with the H3/H5 nodes. While here, also remove leading zeros from the USB nodes' unit addresses. Signed-off-by: Samuel Holland --- arch/arm/dts/sun50i-a64.dtsi | 34

[linux-sunxi] [PATCH 4/7] sun50i: a64: Update OrangePi Win defconfig and DTS

2018-01-23 Thread Samuel Holland
Enable Ethernet support in the device tree and add the necessary MACPWR configuration. Also fix spacing in USB device tree nodes and add the relevant configuration options. Signed-off-by: Samuel Holland --- arch/arm/dts/sun50i-a64-orangepi-win.dts | 18 +++---

[linux-sunxi] [PATCH 6/7] sun50i: h5: Enable remaining USB ports on OrangePi PC2

2018-01-23 Thread Samuel Holland
The OrangePi PC 2 has three USB type A ports, with one connected to each EHCI/OHCI controller. Enable the controllers for the other two ports. Signed-off-by: Samuel Holland --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 16 1 file changed, 16 insertions(+)

[linux-sunxi] [PATCH 0/7] sun50i device tree changes

2018-01-23 Thread Samuel Holland
These patches fix one general build issue, improve support for two existing boards, and add support for the Orange Pi Zero Plus. -- 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,

[linux-sunxi] [PATCH v3] ARM: dts: sun8i: NanoPi NEO Air add WiFi / eMMC

2018-01-23 Thread Martin Kelly
From: Jelle van der Waa Enable the WiFi (AP6212) chip and eMMC support for the NanoPi NEO Air. This patch was originally submitted by Jelle van der Waa. Martin Kelly modified it to compile on the latest kernel, fixed up some review comments from Maxime Ripard, and re-tested the