[linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-15 Thread Vinod Koul
On Mon, Mar 14, 2016 at 12:46:41PM +0100, Maxime Ripard wrote:
> On Fri, Mar 11, 2016 at 04:48:26PM +0530, Vinod Koul wrote:
> > > > But this nees to be property for clients and not driver. Client can then
> > > > program these
> > > 
> > > Yes, totally. The question here is how the clients give that
> > > information to the driver.
> > 
> > For this part am not worried. If we can generalize this then we add to
> > dma_slave_config. Otherwise an exported symbol from driver should be fine.
> 
> It's actually what we would like to avoid.
> 
> We have two potential provider driver that would need such an
> interface, and we have customer drivers that would be able to use any
> of these two, depending on which SoCs we're talking about.
> 
> Maintaining some logic in each and every driver in that case to know
> which one of this symbol is to be called seems counterproductive and
> painful.

You didn't specify which one you want to avoid, and my guess is latter
choice and not former :)

As I said, if it's something we can use in few examples and describe
generically I do not mind adding to dma_slave_config

-- 
~Vinod

-- 
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] [PATCH v2 0/2] ARM: dt: sunxi: Add Itead Ibox support

2016-03-15 Thread codekipper
From: Marcus Cooper 

This patch delivers the uboot changes required for the Itead Ibox A20. As there
are a few Itead variants out there based on their A10/A20 core module; I have
created a common dtsi for all of them.

I've also converted the A10 Itead Iteaduino dts to use this common file.
BR,
CK

---
Changes since v1:
- removed enabling of codec as it's not needed and the dtsi doesn't include it

---
Marcus Cooper (2):
  sun7i: Add support for the Itead Ibox
  sun4i: Convert Iteadunio plus dts

 arch/arm/dts/Makefile   |   1 +
 arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts |  86 +--
 arch/arm/dts/sun7i-a20-itead-ibox.dts   | 121 +
 arch/arm/dts/sunxi-itead-core-common.dtsi   | 136 
 board/sunxi/MAINTAINERS |   5 +
 configs/Itead_Ibox_A20_defconfig|  16 +++
 6 files changed, 281 insertions(+), 84 deletions(-)
 create mode 100644 arch/arm/dts/sun7i-a20-itead-ibox.dts
 create mode 100644 arch/arm/dts/sunxi-itead-core-common.dtsi
 create mode 100644 configs/Itead_Ibox_A20_defconfig

-- 
2.7.3

-- 
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] [PATCH v2 1/2] sun7i: Add support for the Itead Ibox

2016-03-15 Thread codekipper
From: Marcus Cooper 

Add dts and defconfig for the multi board device based on the
Allwinner A20 SoC. It contains the A20 Itead Core module and a
base board for the external interfaces.

The core module comes with 4GB NAND and 1GB DDR RAM. As this is
a generic design which has also been used on a A10 board then a
common core dtsi file is included.

The base board to which the core board is connected provides
3 USB 2.0 Host ports, 1 USB 2.0 OTG, 1 uSD slot, 10/100 Ethernet
port, HDMI, IR receiver,  SPDIF and a 32-pin GPIO header. This
header expands the features of core board by exposing the VGA pins,
audio In/Out pins, SATA, SPI, I2C, UARTS, USB-OTG and power..

Signed-off-by: Marcus Cooper 
---
 arch/arm/dts/Makefile |   1 +
 arch/arm/dts/sun7i-a20-itead-ibox.dts | 121 ++
 arch/arm/dts/sunxi-itead-core-common.dtsi | 136 ++
 board/sunxi/MAINTAINERS   |   5 ++
 configs/Itead_Ibox_A20_defconfig  |  16 
 5 files changed, 279 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-itead-ibox.dts
 create mode 100644 arch/arm/dts/sunxi-itead-core-common.dtsi
 create mode 100644 configs/Itead_Ibox_A20_defconfig

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index b574284..466f961 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -162,6 +162,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-cubietruck.dtb \
sun7i-a20-hummingbird.dtb \
sun7i-a20-i12-tvbox.dtb \
+   sun7i-a20-itead-ibox.dtb \
sun7i-a20-lamobo-r1.dtb \
sun7i-a20-m3.dtb \
sun7i-a20-m5.dtb \
diff --git a/arch/arm/dts/sun7i-a20-itead-ibox.dts 
b/arch/arm/dts/sun7i-a20-itead-ibox.dts
new file mode 100644
index 000..c6fcd36
--- /dev/null
+++ b/arch/arm/dts/sun7i-a20-itead-ibox.dts
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2015 - Marcus Cooper 
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun7i-a20.dtsi"
+#include "sunxi-itead-core-common.dtsi"
+
+/ {
+   model = "Itead Ibox A20";
+   compatible = "itead,itead-ibox-a20", "allwinner,sun7i-a20";
+
+   leds {
+   compatible = "gpio-leds";
+   pinctrl-names = "default";
+   pinctrl-0 = <&led_pins_itead_core>;
+
+   green {
+   label = "itead_core:green:usr";
+   gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
+   default-state = "on";
+   };
+
+   blue {
+   label = "itead_core:blue:usr";
+   gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
+   default-state = "on";
+   };
+   };
+};
+
+&ahci {
+   target-supply = <®_ahci_5v>;
+   status = "okay";
+};
+
+&gmac {
+   pinctrl-names = "default";
+   pinctrl-0 = <&gmac_pins_mii_a>;
+   phy = <&phy1>;
+   phy-mode = "mii";
+   status = "okay";
+
+   phy1: ethernet-phy@1 {
+   reg = <1>;
+   };
+};
+
+&i2c0 {
+   axp209: pmic@34 {

[linux-sunxi] [PATCH v2 2/2] sun4i: Convert Iteadunio plus dts

2016-03-15 Thread codekipper
From: Marcus Cooper 

The delivery of the Itead Ibox A20 contained a common include
dtsi file for the core module which this Itead Iteadunio Plus
uses.
This patch modifies the dts to use this include dtsi.

Signed-off-by: Marcus Cooper 
---
 arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts | 86 +
 1 file changed, 2 insertions(+), 84 deletions(-)

diff --git a/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts 
b/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
index 985e155..4e798f0 100644
--- a/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
+++ b/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
@@ -1,5 +1,6 @@
 /*
  * Copyright 2015 Josef Gajdusek 
+ * Copyright 2015 - Marcus Cooper 
  *
  * This file is dual-licensed: you can use it either under the terms
  * of the GPL or the X11 license, at your option. Note that this dual
@@ -42,22 +43,11 @@
 
 /dts-v1/;
 #include "sun4i-a10.dtsi"
-#include "sunxi-common-regulators.dtsi"
-
-#include 
-#include 
+#include "sunxi-itead-core-common.dtsi"
 
 / {
model = "Iteaduino Plus A10";
compatible = "itead,iteaduino-plus-a10", "allwinner,sun4i-a10";
-
-   aliases {
-   serial0 = &uart0;
-   };
-
-   chosen {
-   stdout-path = "serial0:115200n8";
-   };
 };
 
 &ahci {
@@ -65,18 +55,6 @@
status = "okay";
 };
 
-&cpu0 {
-   cpu-supply = <®_dcdc2>;
-};
-
-&ehci0 {
-   status = "okay";
-};
-
-&ehci1 {
-   status = "okay";
-};
-
 &emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_pins_a>;
@@ -89,12 +67,7 @@
 };
 
 &i2c0 {
-   pinctrl-names = "default";
-   pinctrl-0 = <&i2c0_pins_a>;
-   status = "okay";
-
axp209: pmic@34 {
-   reg = <0x34>;
interrupts = <0>;
};
 };
@@ -135,68 +108,13 @@
status = "okay";
 };
 
-&ohci0 {
-   status = "okay";
-};
-
-&ohci1 {
-   status = "okay";
-};
-
 ®_ahci_5v {
status = "okay";
 };
 
-#include "axp209.dtsi"
-
-®_dcdc2 {
-   regulator-always-on;
-   regulator-min-microvolt = <100>;
-   regulator-max-microvolt = <145>;
-   regulator-name = "vdd-cpu";
-};
-
-®_dcdc3 {
-   regulator-always-on;
-   regulator-min-microvolt = <100>;
-   regulator-max-microvolt = <140>;
-   regulator-name = "vdd-int-dll";
-};
-
-®_ldo1 {
-   regulator-name = "vdd-rtc";
-};
-
-®_ldo2 {
-   regulator-always-on;
-   regulator-min-microvolt = <300>;
-   regulator-max-microvolt = <300>;
-   regulator-name = "avcc";
-};
-
-®_usb1_vbus {
-   status = "okay";
-};
-
-®_usb2_vbus {
-   status = "okay";
-};
-
 &spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins_a>,
<&spi0_cs0_pins_a>;
status = "okay";
 };
-
-&uart0 {
-   pinctrl-names = "default";
-   pinctrl-0 = <&uart0_pins_a>;
-   status = "okay";
-};
-
-&usbphy {
-   usb1_vbus-supply = <®_usb1_vbus>;
-   usb2_vbus-supply = <®_usb2_vbus>;
-   status = "okay";
-};
-- 
2.7.3

-- 
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 0/2] ARM: dt: sunxi: Add Itead Ibox support

2016-03-15 Thread Code Kipper
On 15 March 2016 at 18:34,   wrote:
> From: Marcus Cooper 
>
> This patch delivers the uboot changes required for the Itead Ibox A20. As 
> there
> are a few Itead variants out there based on their A10/A20 core module; I have
> created a common dtsi for all of them.
>
> I've also converted the A10 Itead Iteaduino dts to use this common file.
> BR,
> CK
>
> Marcus Cooper (2):
>   sun7i: Add support for the Itead Ibox
NAK - just noticed a rouge patch that I didn't squash into this. Will
fix straight away.
CK
>   sun4i: Convert Iteadunio plus dts
>
>  arch/arm/dts/Makefile   |   1 +
>  arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts |  86 +--
>  arch/arm/dts/sun7i-a20-itead-ibox.dts   | 125 ++
>  arch/arm/dts/sunxi-itead-core-common.dtsi   | 136 
> 
>  board/sunxi/MAINTAINERS |   5 +
>  configs/Itead_Ibox_A20_defconfig|  16 +++
>  6 files changed, 285 insertions(+), 84 deletions(-)
>  create mode 100644 arch/arm/dts/sun7i-a20-itead-ibox.dts
>  create mode 100644 arch/arm/dts/sunxi-itead-core-common.dtsi
>  create mode 100644 configs/Itead_Ibox_A20_defconfig
>
> --
> 2.7.3
>

-- 
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] [PATCH 2/2] sun4i: Convert Iteadunio plus dts

2016-03-15 Thread codekipper
From: Marcus Cooper 

The delivery of the Itead Ibox A20 contained a common include
dtsi file for the core module which this Itead Iteadunio Plus
uses.
This patch modifies the dts to use this include dtsi.

Signed-off-by: Marcus Cooper 
---
 arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts | 86 +
 1 file changed, 2 insertions(+), 84 deletions(-)

diff --git a/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts 
b/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
index 985e155..4e798f0 100644
--- a/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
+++ b/arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts
@@ -1,5 +1,6 @@
 /*
  * Copyright 2015 Josef Gajdusek 
+ * Copyright 2015 - Marcus Cooper 
  *
  * This file is dual-licensed: you can use it either under the terms
  * of the GPL or the X11 license, at your option. Note that this dual
@@ -42,22 +43,11 @@
 
 /dts-v1/;
 #include "sun4i-a10.dtsi"
-#include "sunxi-common-regulators.dtsi"
-
-#include 
-#include 
+#include "sunxi-itead-core-common.dtsi"
 
 / {
model = "Iteaduino Plus A10";
compatible = "itead,iteaduino-plus-a10", "allwinner,sun4i-a10";
-
-   aliases {
-   serial0 = &uart0;
-   };
-
-   chosen {
-   stdout-path = "serial0:115200n8";
-   };
 };
 
 &ahci {
@@ -65,18 +55,6 @@
status = "okay";
 };
 
-&cpu0 {
-   cpu-supply = <®_dcdc2>;
-};
-
-&ehci0 {
-   status = "okay";
-};
-
-&ehci1 {
-   status = "okay";
-};
-
 &emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_pins_a>;
@@ -89,12 +67,7 @@
 };
 
 &i2c0 {
-   pinctrl-names = "default";
-   pinctrl-0 = <&i2c0_pins_a>;
-   status = "okay";
-
axp209: pmic@34 {
-   reg = <0x34>;
interrupts = <0>;
};
 };
@@ -135,68 +108,13 @@
status = "okay";
 };
 
-&ohci0 {
-   status = "okay";
-};
-
-&ohci1 {
-   status = "okay";
-};
-
 ®_ahci_5v {
status = "okay";
 };
 
-#include "axp209.dtsi"
-
-®_dcdc2 {
-   regulator-always-on;
-   regulator-min-microvolt = <100>;
-   regulator-max-microvolt = <145>;
-   regulator-name = "vdd-cpu";
-};
-
-®_dcdc3 {
-   regulator-always-on;
-   regulator-min-microvolt = <100>;
-   regulator-max-microvolt = <140>;
-   regulator-name = "vdd-int-dll";
-};
-
-®_ldo1 {
-   regulator-name = "vdd-rtc";
-};
-
-®_ldo2 {
-   regulator-always-on;
-   regulator-min-microvolt = <300>;
-   regulator-max-microvolt = <300>;
-   regulator-name = "avcc";
-};
-
-®_usb1_vbus {
-   status = "okay";
-};
-
-®_usb2_vbus {
-   status = "okay";
-};
-
 &spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins_a>,
<&spi0_cs0_pins_a>;
status = "okay";
 };
-
-&uart0 {
-   pinctrl-names = "default";
-   pinctrl-0 = <&uart0_pins_a>;
-   status = "okay";
-};
-
-&usbphy {
-   usb1_vbus-supply = <®_usb1_vbus>;
-   usb2_vbus-supply = <®_usb2_vbus>;
-   status = "okay";
-};
-- 
2.7.3

-- 
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] [PATCH 1/2] sun7i: Add support for the Itead Ibox

2016-03-15 Thread codekipper
From: Marcus Cooper 

Add dts and defconfig for the multi board device based on the
Allwinner A20 SoC. It contains the A20 Itead Core module and a
base board for the external interfaces.

The core module comes with 4GB NAND and 1GB DDR RAM. As this is
a generic design which has also been used on a A10 board then a
common core dtsi file is included.

The base board to which the core board is connected provides
3 USB 2.0 Host ports, 1 USB 2.0 OTG, 1 uSD slot, 10/100 Ethernet
port, HDMI, IR receiver,  SPDIF and a 32-pin GPIO header. This
header expands the features of core board by exposing the VGA pins,
audio In/Out pins, SATA, SPI, I2C, UARTS, USB-OTG and power..

Signed-off-by: Marcus Cooper 
---
 arch/arm/dts/Makefile |   1 +
 arch/arm/dts/sun7i-a20-itead-ibox.dts | 125 +++
 arch/arm/dts/sunxi-itead-core-common.dtsi | 136 ++
 board/sunxi/MAINTAINERS   |   5 ++
 configs/Itead_Ibox_A20_defconfig  |  16 
 5 files changed, 283 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-itead-ibox.dts
 create mode 100644 arch/arm/dts/sunxi-itead-core-common.dtsi
 create mode 100644 configs/Itead_Ibox_A20_defconfig

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index b574284..466f961 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -162,6 +162,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-cubietruck.dtb \
sun7i-a20-hummingbird.dtb \
sun7i-a20-i12-tvbox.dtb \
+   sun7i-a20-itead-ibox.dtb \
sun7i-a20-lamobo-r1.dtb \
sun7i-a20-m3.dtb \
sun7i-a20-m5.dtb \
diff --git a/arch/arm/dts/sun7i-a20-itead-ibox.dts 
b/arch/arm/dts/sun7i-a20-itead-ibox.dts
new file mode 100644
index 000..661c21d
--- /dev/null
+++ b/arch/arm/dts/sun7i-a20-itead-ibox.dts
@@ -0,0 +1,125 @@
+/*
+ * Copyright 2015 - Marcus Cooper 
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun7i-a20.dtsi"
+#include "sunxi-itead-core-common.dtsi"
+
+/ {
+   model = "Itead Ibox A20";
+   compatible = "itead,itead-ibox-a20", "allwinner,sun7i-a20";
+
+   leds {
+   compatible = "gpio-leds";
+   pinctrl-names = "default";
+   pinctrl-0 = <&led_pins_itead_core>;
+
+   green {
+   label = "itead_core:green:usr";
+   gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
+   default-state = "on";
+   };
+
+   blue {
+   label = "itead_core:blue:usr";
+   gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
+   default-state = "on";
+   };
+   };
+};
+
+&ahci {
+   target-supply = <®_ahci_5v>;
+   status = "okay";
+};
+
+&codec {
+   status = "okay";
+};
+
+&gmac {
+   pinctrl-names = "default";
+   pinctrl-0 = <&gmac_pins_mii_a>;
+   phy = <&phy1>;
+   phy-mode = "mii";
+   status = "okay";
+
+   phy1: ethernet-phy@1 {
+   reg = <1>;
+   }

[linux-sunxi] [PATCH 0/2] ARM: dt: sunxi: Add Itead Ibox support

2016-03-15 Thread codekipper
From: Marcus Cooper 

This patch delivers the uboot changes required for the Itead Ibox A20. As there
are a few Itead variants out there based on their A10/A20 core module; I have
created a common dtsi for all of them.

I've also converted the A10 Itead Iteaduino dts to use this common file.
BR,
CK

Marcus Cooper (2):
  sun7i: Add support for the Itead Ibox
  sun4i: Convert Iteadunio plus dts

 arch/arm/dts/Makefile   |   1 +
 arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts |  86 +--
 arch/arm/dts/sun7i-a20-itead-ibox.dts   | 125 ++
 arch/arm/dts/sunxi-itead-core-common.dtsi   | 136 
 board/sunxi/MAINTAINERS |   5 +
 configs/Itead_Ibox_A20_defconfig|  16 +++
 6 files changed, 285 insertions(+), 84 deletions(-)
 create mode 100644 arch/arm/dts/sun7i-a20-itead-ibox.dts
 create mode 100644 arch/arm/dts/sunxi-itead-core-common.dtsi
 create mode 100644 configs/Itead_Ibox_A20_defconfig

-- 
2.7.3

-- 
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.


Re: [linux-sunxi] Re: [PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2016-03-15 Thread Mark Brown
On Mon, Mar 14, 2016 at 11:49:39AM +0100, Maxime Ripard wrote:
> On Sat, Mar 12, 2016 at 08:52:22AM +0100, Danny Milosavljevic wrote:

> > > The other direction (making two controls which both do the same and 
> > > update 
> > > each other's value) doesn't seem to be easily available. 

> > > Should I write a _put handler that does it manually?

> > > (Or should that be handled by alsa-lib mixer modules instead?)

> > > Is it possible to merge the "Left Mixer" control and respective 
> > > "Right Mixer" control into one selem in alsamixer?

> > > Because alsamixer actually has support for one-sided muting.

> Mark, do you know how to do it?

> IIRC, in order to have shared controls, you just needed to share the
> controls structure.

I'm having a really hard time telling what "it" is here.

-- 
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: PGP signature