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

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote: > On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij > wrote: > > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard > > wrote: > >> On Sat, Jan 27, 2018 at 05:14:26PM +0100,

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

2018-01-29 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25 + 1 file changed, 25 insertions(+) diff --git

[linux-sunxi] Re: linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2018-01-29 Thread Andrey Tarasov
Hi I have an A10S based board which successfully running legacy u-boot and Linux kernels built for mk802_a10s. Except for reported DRAM size is 512 MB instead of 1024 MB. But when i try to run mainline u-boot compiled for the same target (mk802_a10s_config) the board does not boot. Nothing

[linux-sunxi] Re: SPI in Linux 4.8.0-rc6: Weird dip in SCLK right when slave select goes low

2018-01-29 Thread Patrick Loef
Hello, It is a late response, but I had the same thing in the LTS kernel 4.9.x. After some research I saw that in the function: sun4i_spi_runtime_resume the following code: sun4i_spi_write(sspi, SUN4I_CTL_REG, SUN4I_CTL_ENABLE | SUN4I_CTL_MASTER | SUN4I_CTL_TP); This will setup

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Mark Brown
On Mon, Jan 29, 2018 at 01:28:51PM +0100, Code Kipper wrote: > On 29 January 2018 at 12:32, Mark Brown wrote: > > You're looking for set_bclk_ratio() I think. > I'm looking for a mechanism to be able to override the bclk width > (usually it's based on param_width) from the

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Mark Brown
On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > I'm not sure..I was looking for a clean example of being able to > override the number of bclks in the lrclk width and some other > devices(Rpi) were doing it this way. I open to suggestions, You're looking for set_bclk_ratio() I

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

2018-01-29 Thread Yong
Hi, On Mon, 29 Jan 2018 13:49:14 -0800 Randy Dunlap wrote: > On 01/29/2018 01:21 AM, Yong Deng wrote: > > 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

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

2018-01-29 Thread Arnd Bergmann
On Mon, Jan 29, 2018 at 10:49 PM, Randy Dunlap wrote: > On 01/29/2018 01:21 AM, Yong Deng wrote: >> 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

[linux-sunxi] Re: [PATCH v3 06/12] dt-bindings: display: sun4i-drm: Add A83T HDMI pipeline

2018-01-29 Thread Jernej Škrabec
Hi, Dne ponedeljek, 29. januar 2018 ob 19:05:26 CET je Rob Herring napisal(a): > On Wed, Jan 17, 2018 at 09:14:15PM +0100, Jernej Skrabec wrote: > > This commit adds all necessary compatibles and descriptions needed to > > implement A83T HDMI pipeline. > > > > Mixer is already properly

[linux-sunxi] Re: [RFC PATCH 0/9] initial support for "suniv" Allwinner new ARM9 SoC

2018-01-29 Thread Rob Herring
On Thu, Jan 25, 2018 at 04:35:20PM +0100, Maxime Ripard wrote: > Hi, > > On Wed, Jan 24, 2018 at 09:10:34PM +0800, Icenowy Zheng wrote: > > 在 2018年1月22日星期一 CST 下午8:14:35,Maxime Ripard 写道: > > > On Sat, Jan 20, 2018 at 07:17:26AM +0800, Icenowy Zheng wrote: > > > > This is the RFC initial patchset

Re: [linux-sunxi] Re: [PATCH v3 06/12] dt-bindings: display: sun4i-drm: Add A83T HDMI pipeline

2018-01-29 Thread Icenowy Zheng
于 2018年1月30日 GMT+08:00 上午2:05:26, Rob Herring 写到: >On Wed, Jan 17, 2018 at 09:14:15PM +0100, Jernej Skrabec wrote: >> This commit adds all necessary compatibles and descriptions needed to >> implement A83T HDMI pipeline. >> >> Mixer is already properly described, so only

[linux-sunxi] Re: [PATCH v3 06/12] dt-bindings: display: sun4i-drm: Add A83T HDMI pipeline

2018-01-29 Thread Rob Herring
On Wed, Jan 17, 2018 at 09:14:15PM +0100, Jernej Skrabec wrote: > This commit adds all necessary compatibles and descriptions needed to > implement A83T HDMI pipeline. > > Mixer is already properly described, so only compatible is added. > > However, A83T TV TCON, which is connected to HDMI,

[linux-sunxi] [PATCH v4 3/6] arm: dts: sun8i: a83t: Add the cir pin for the A83T

2018-01-29 Thread Philipp Rossak
The CIR Pin of the A83T is located at PL12. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index de5119a2a91c..06e96db7c41a

[linux-sunxi] [PATCH v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller

2018-01-29 Thread Philipp Rossak
The Bananapi M3 has an onboard IR receiver. This enables the onboard IR receiver subnode. Unlike the other IR receivers this one needs a base clock frequency of 300 Hz (3 MHz), to be able to work. Signed-off-by: Philipp Rossak Acked-by: Chen-Yu Tsai ---

[linux-sunxi] [PATCH v4 1/6] media: rc: update sunxi-ir driver to get base clock frequency from devicetree

2018-01-29 Thread Philipp Rossak
This patch updates the sunxi-ir driver to set the base clock frequency from devicetree. This is necessary since there are different ir receivers on the market, that operate with different frequencies. So this value could be set if the attached ir receiver needs a different base clock frequency,

[linux-sunxi] [PATCH v4 0/6] arm: sunxi: IR support for A83T

2018-01-29 Thread Philipp Rossak
This patch series adds support for the sunxi A83T ir module and enhances the sunxi-ir driver. Right now the base clock frequency for the ir driver is a hard coded define and is set to 8 MHz. This works for the most common ir receivers. On the Sinovoip Bananapi M3 the ir receiver needs, a 3 MHz

[linux-sunxi] [PATCH v4 6/6] arm: dts: sun8i: h3-h8: ir register size should be the whole memory block

2018-01-29 Thread Philipp Rossak
The size of the register should be the size of the whole memory block, not just the registers, that are needed. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[linux-sunxi] [PATCH v4 2/6] media: dt: bindings: Update binding documentation for sunxi IR controller

2018-01-29 Thread Philipp Rossak
This patch updates documentation for Device-Tree bindings for sunxi IR controller and adds the new optional property for the base clock frequency. Signed-off-by: Philipp Rossak Acked-by: Maxime Ripard Reviewed-by: Rob Herring

[linux-sunxi] [PATCH v4 4/6] arm: dts: sun8i: a83t: Add support for the cir interface

2018-01-29 Thread Philipp Rossak
The cir interface is like on the H3 located at 0x01f02000 and is exactly the same. This patch adds support for the ir interface on the A83T. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

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

2018-01-29 Thread Arnd Bergmann
On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij wrote: > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard > wrote: >> On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote: >> However, in DT systems, that >> field is filled only

[linux-sunxi] Re: [PATCH v2 07/16] iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:40, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:10AM +0100, Philipp Rossak wrote: This patch reworks the driver to support nvmem calibration cells. The driver checks if the nvmem calibration is supported and reads out the nvmem. Signed-off-by: Philipp Rossak

[linux-sunxi] Re: [PATCH v2 01/16] dt-bindings: update the Allwinner GPADC device tree binding for H3 & A83T

2018-01-29 Thread Philipp Rossak
+Example for A33: ths: ths@1c25000 { compatible = "allwinner,sun8i-a33-ths"; reg = <0x01c25000 0x100>; @@ -17,6 +40,27 @@ Example: #io-channel-cells = <0>; }; +Example for H3: + ths: thermal-sensor@1c25000 { +

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Code Kipper
On 29 January 2018 at 12:32, Mark Brown wrote: > On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > >> I'm not sure..I was looking for a clean example of being able to >> override the number of bclks in the lrclk width and some other >> devices(Rpi) were doing it

[linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:52, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:17AM +0100, Philipp Rossak wrote: This patch enables the the sid controller in the H3. It can be used for thermal calibration data. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi

[linux-sunxi] Re: [PATCH v2 13/16] arm: dts: sun8i: h3: add thermal zone to H3

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:50, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:16AM +0100, Philipp Rossak wrote: This patch adds the thermal zones to the H3. We have only one sensor and that is placed in the cpu. Signed-off-by: Philipp Rossak ---

[linux-sunxi] Re: [PATCH v2 11/16] arm: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:49, Maxime Ripard wrote: Hi, On Mon, Jan 29, 2018 at 12:29:14AM +0100, Philipp Rossak wrote: As we have gained the support for the thermal sensor in H3 and H5, we can now add its device nodes to the device tree. The H3 and H5 share most of its compatible. The compatible and

[linux-sunxi] Re: [PATCH v2 10/16] iio: adc: sun4i-gpadc-iio: add support for A83T thermal sensor

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:48, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:13AM +0100, Philipp Rossak wrote: This patch adds support for the A83T ths sensor. The A83T supports interrupts. The interrupt is configured to update the the sensor values every second. Signed-off-by: Philipp Rossak

[linux-sunxi] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Andre Przywara
Hi, On 29/01/18 09:58, Maxime Ripard wrote: > On Mon, Jan 29, 2018 at 09:44:44AM +, Andre Przywara wrote: >> Hi, >> >> On 29/01/18 08:51, Maxime Ripard wrote: >>> Hi, >>> >>> On Mon, Jan 29, 2018 at 01:15:19AM +, Andre Przywara wrote: The existing sun8i-emac driver in U-Boot uses

[linux-sunxi] Re: [PATCH] sunxi: Pine64: temporarily remove extra Pine64 non-plus DT

2018-01-29 Thread Maxime Ripard
On Sat, Jan 27, 2018 at 12:52:22AM +, Andre Przywara wrote: > With the merge of the new u-boot.itb size check now the build for > pine64_plus_defconfig breaks, as this file gets too large: > = > u-boot.itb exceeds file size limit: > limit: 516096 bytes > actual: 521852 bytes >

Re: [linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread Jernej Škrabec
Hi Maxime, (previously I respond only to linux-sunxi mailing list) >On Mon, Jan 29, 2018 at 10:22:23AM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> Add the new DAI block for I2S2 which is used for HDMI audio. >> >> Signed-off-by: Marcus Cooper

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

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 05:18:53PM +0800, Yong Deng wrote: > Add binding documentation for Allwinner V3s CSI. > > Reviewed-by: Rob Herring > Signed-off-by: Yong Deng Acked-by: Maxime Ripard Thanks! Maxime -- Maxime

Re: [linux-sunxi] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 06:02:45PM +0800, Chen-Yu Tsai wrote: > On Mon, Jan 29, 2018 at 5:58 PM, Maxime Ripard > wrote: > > On Mon, Jan 29, 2018 at 09:44:44AM +, Andre Przywara wrote: > >> Hi, > >> > >> On 29/01/18 08:51, Maxime Ripard wrote: > >> > Hi, > >>

Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable HDMI support on the MK808C

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 10:23:10AM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Enable the display pipeline and HDMI output > > Signed-off-by: Marcus Cooper queued for 4.17, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded

Re: [linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 10:22:23AM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Add the new DAI block for I2S2 which is used for HDMI audio. > > Signed-off-by: Marcus Cooper queued for 4.17, thanks! Maxime -- Maxime Ripard, Free

Re: [linux-sunxi][PATCH v2 0/5] Add tested digital audio blocks to A64

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 10:18:58AM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Hi All, > > this patch series adds the digital audio blocks to the A64 SoC. No block > changes are necessary. queued all of these changes for 4.17. Thanks! Maxime -- Maxime

[linux-sunxi] Re: [PATCH 1/2] ARM: dts: sun8i: h3-h5: Move pinctrl of mmc0 from dts to dtsi

2018-01-29 Thread Maxime Ripard
Moi Joonas, On Sun, Jan 28, 2018 at 04:24:00PM +, Joonas Kylmälä wrote: > I started on working this patch set again after a while but I actually > couldn't understand one thing you said. Please see the inline reply. > > Maxime Ripard: > > On Thu, Oct 26, 2017 at 02:57:00PM +, Joonas

Re: [linux-sunxi] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Chen-Yu Tsai
On Mon, Jan 29, 2018 at 5:58 PM, Maxime Ripard wrote: > On Mon, Jan 29, 2018 at 09:44:44AM +, Andre Przywara wrote: >> Hi, >> >> On 29/01/18 08:51, Maxime Ripard wrote: >> > Hi, >> > >> > On Mon, Jan 29, 2018 at 01:15:19AM +, Andre Przywara wrote: >> >>

[linux-sunxi] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 09:44:44AM +, Andre Przywara wrote: > Hi, > > On 29/01/18 08:51, Maxime Ripard wrote: > > Hi, > > > > On Mon, Jan 29, 2018 at 01:15:19AM +, Andre Przywara wrote: > >> The existing sun8i-emac driver in U-Boot uses some preliminary bindings, > >> which matched our

[linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:17AM +0100, Philipp Rossak wrote: > This patch enables the the sid controller in the H3. It can be used > for thermal calibration data. > > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ > 1 file changed, 7

[linux-sunxi] Re: [PATCH v2 13/16] arm: dts: sun8i: h3: add thermal zone to H3

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:16AM +0100, Philipp Rossak wrote: > This patch adds the thermal zones to the H3. We have only one sensor and > that is placed in the cpu. > > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 9 + > 1 file changed, 9

Re: [linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread Code Kipper
On 29 January 2018 at 10:35, Jernej Skrabec wrote: > Hi, > > Dne ponedeljek, 29. januar 2018 10.22.27 UTC+1 je oseba CodeKipper napisala: >> >> From: Marcus Cooper >> >> Add the new DAI block for I2S2 which is used for HDMI audio. >> >>

[linux-sunxi] Re: [PATCH v2 11/16] arm: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 12:29:14AM +0100, Philipp Rossak wrote: > As we have gained the support for the thermal sensor in H3 and H5, > we can now add its device nodes to the device tree. The H3 and H5 share > most of its compatible. The compatible and the thermal sensor cells > will be added

[linux-sunxi] Re: [PATCH v2 10/16] iio: adc: sun4i-gpadc-iio: add support for A83T thermal sensor

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:13AM +0100, Philipp Rossak wrote: > This patch adds support for the A83T ths sensor. > > The A83T supports interrupts. The interrupt is configured to update the > the sensor values every second. > > Signed-off-by: Philipp Rossak > --- >

[linux-sunxi] Re: [PATCH v2 09/16] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:12AM +0100, Philipp Rossak wrote: > This patch adds support for the H3 ths sensor. > > The H3 supports interrupts. The interrupt is configured to update the > the sensor values every second. The calibration data is writen at the > begin of the init process. > >

[linux-sunxi] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Andre Przywara
Hi, On 29/01/18 08:51, Maxime Ripard wrote: > Hi, > > On Mon, Jan 29, 2018 at 01:15:19AM +, Andre Przywara wrote: >> The existing sun8i-emac driver in U-Boot uses some preliminary bindings, >> which matched our own DTs. Now that the Linux kernel got a driver, lets >> update our probe code to

[linux-sunxi] Re: [PATCH v2 07/16] iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:10AM +0100, Philipp Rossak wrote: > This patch reworks the driver to support nvmem calibration cells. > The driver checks if the nvmem calibration is supported and reads out > the nvmem. > > Signed-off-by: Philipp Rossak > --- >

[linux-sunxi] Re: [PATCH v2 06/16] iio: adc: sun4i-gpadc-iio: rework: support multiple sensors

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 12:29:09AM +0100, Philipp Rossak wrote: > For adding newer sensor some basic rework of the code is necessary. > > This patch reworks the driver to be able to handle more than one > thermal sensor. Newer SoC like the A80 have 4 thermal sensors. > Because of this the

Re: [linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread Jernej Skrabec
Hi, Dne ponedeljek, 29. januar 2018 10.22.27 UTC+1 je oseba CodeKipper napisala: > > From: Marcus Cooper > > Add the new DAI block for I2S2 which is used for HDMI audio. > > Signed-off-by: Marcus Cooper > --- > arch/arm/boot/dts/sunxi-h3-h5.dtsi |

[linux-sunxi] Re: [PATCH v2 05/16] iio: adc: sun4i-gpadc-iio: rework: support clocks and reset

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 12:29:08AM +0100, Philipp Rossak wrote: > For adding newer sensor some basic rework of the code is necessary. > > The SoCs after H3 has newer thermal sensor ADCs, which have two clock > inputs (bus clock and sampling clock) and a reset. The registers are > also

[linux-sunxi] Re: [PATCH v2 04/16] iio: adc: sun4i-gpadc-iio: rework: sampling start/end code readout reg

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 12:29:07AM +0100, Philipp Rossak wrote: > For adding newer sensor some basic rework of the code is necessary. > > This commit reworks the code and allows the sampling start/end code and > the position of value readout register to be altered. Later the start/end >

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

2018-01-29 Thread Linus Walleij
On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard wrote: > On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote: >> > +void sun6i_csi_update_buf_addr(struct sun6i_csi *csi, dma_addr_t addr) >> > +{ >> > + struct sun6i_csi_dev *sdev =

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable HDMI support on the MK808C

2018-01-29 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-mk808c.dts | 25 + 1 file changed, 25 insertions(+) diff --git

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

2018-01-29 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] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread codekipper
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[linux-sunxi] Re: [PATCH v2 02/16] arm: config: sunxi_defconfig: enable SUN4I_GPADC

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 12:29:05AM +0100, Philipp Rossak wrote: > This commit enables the SUN4I_GPADC config option and > sets the value to yes. This is needed to enable the ths sensors. > > Signed-off-by: Philipp Rossak > --- > arch/arm/configs/sunxi_defconfig | 1 + >

[linux-sunxi] Re: [PATCH v2 01/16] dt-bindings: update the Allwinner GPADC device tree binding for H3 & A83T

2018-01-29 Thread Maxime Ripard
Hi Philipp, On Mon, Jan 29, 2018 at 12:29:04AM +0100, Philipp Rossak wrote: > Allwinner H3 features a thermal sensor like the one in A33, but has its > register re-arranged, the clock divider moved to CCU (originally the > clock divider is in ADC) and added a pair of bus clock and reset. > >

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

2018-01-29 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][PATCH v2 3/5] arm64: allwinner: a64: Add SPDIF to the Pine64

2018-01-29 Thread codekipper
From: Marcus Cooper The S/PDIF transmitter can be reached on the Euler connector. But as this is a GPIO then leave it disabled so that an overlay can override the status property. Signed-off-by: Marcus Cooper ---

[linux-sunxi][PATCH v2 0/5] Add tested digital audio blocks to A64

2018-01-29 Thread codekipper
From: Marcus Cooper Hi All, this patch series adds the digital audio blocks to the A64 SoC. No block changes are necessary. BR, CK --- v2 changes compared to v1 are: - Added SoC specific compatiables - moved spdif default pins to dtsi - Added i2s2 block for HDMI as it

[linux-sunxi][PATCH v2 5/5] arm64: allwinner: a64: Add DAI node for HDMI

2018-01-29 Thread codekipper
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git

[linux-sunxi][PATCH v2 4/5] arm64: allwinner: a64: Add DAI nodes

2018-01-29 Thread codekipper
From: Marcus Cooper Add the DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 28 +++ 1 file changed, 28

[linux-sunxi][PATCH v2 2/5] arm64: allwinner: a64: Add SPDIF to the A64

2018-01-29 Thread codekipper
From: Marcus Cooper Add the device tree sound bindings for the S/PDIF block. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[linux-sunxi][PATCH v2 1/5] arm64: allwinner: a64: Add the SPDIF block and pin

2018-01-29 Thread codekipper
From: Marcus Cooper Add the SPDIF transceiver controller block and pin to the A64 dtsi. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git

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

2018-01-29 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] Re: [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-29 Thread Maxime Ripard
Hi, On Mon, Jan 29, 2018 at 01:15:19AM +, Andre Przywara wrote: > The existing sun8i-emac driver in U-Boot uses some preliminary bindings, > which matched our own DTs. Now that the Linux kernel got a driver, lets > update our probe code to handle those Linux DTs as well. > The first patch

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 03:38:40PM +0800, Chen-Yu Tsai wrote: > On Mon, Jan 29, 2018 at 3:34 PM, Code Kipper wrote: > > On 29 January 2018 at 02:50, Chen-Yu Tsai wrote: > >> On Wed, Jan 24, 2018 at 10:10 PM, wrote: > >>> From: Marcus

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

2018-01-29 Thread Maxime Ripard
Hi Linus, On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote: > > +void sun6i_csi_update_buf_addr(struct sun6i_csi *csi, dma_addr_t addr) > > +{ > > + struct sun6i_csi_dev *sdev = sun6i_csi_to_dev(csi); > > + /* transform physical address to bus address */ > > +

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

2018-01-29 Thread Maxime Ripard
Hi, On Sun, Jan 28, 2018 at 10:19:03AM +0800, Yong wrote: > Hi Maxime, > > On Fri, 26 Jan 2018 09:10:00 +0100 > Maxime Ripard wrote: > > > On Fri, Jan 26, 2018 at 11:00:41AM +0800, Yong wrote: > > > Hi Maxime, > > > > > > On Fri, 26 Jan 2018 09:46:58 +0800 >