[PATCH 1/1] nvmem: sunxi_sid: fix A64 SID controller support

2019-07-31 Thread Stefan Mavrodiev
Like in H3, A64 SID controller doesn't return correct data when using direct access. It appears that on A64, SID needs 8 bytes of word_size. Workaround is to enable read by registers. Signed-off-by: Stefan Mavrodiev --- drivers/nvmem/sunxi_sid.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 0/1] nvmem: sunxi_sid: fix A64 SID controller support

2019-07-31 Thread Stefan Mavrodiev
0030 00 00 00 00 87 07 8d 07 8e 07 00 00 00 00 00 00 || 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0100 Stefan Mavrodiev (1): nvmem: sunxi_sid: fix A64 SID controller support drivers/nvmem/sunxi_sid.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1

[PATCH 1/1] thermal_hwmon: Sanitize thermal_zone type

2019-07-26 Thread Stefan Mavrodiev
;hwmon device lookup failed!". The result is unregisted hwmon devices in the sysfs. Fixes: 409ef0bacacf ("thermal_hwmon: Sanitize attribute name passed to hwmon") Signed-off-by: Stefan Mavrodiev --- drivers/thermal/thermal_hwmon.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH v3 1/2] mfd: rk808: Check pm_power_off pointer

2019-06-07 Thread Stefan Mavrodiev
The function pointer pm_power_off may point to function from other module (PSCI for example). If rk808 is removed, pm_power_off is overwritten to NULL and the system cannot be powered off. This patch checks if pm_power_off points to a module function. Signed-off-by: Stefan Mavrodiev --- Changes

[PATCH v3 2/2] mfd: rk808: Prepare rk805 for poweroff

2019-06-07 Thread Stefan Mavrodiev
. The solution is to enable pm_power_off_prepare function, which will configure SLEEP pin for OFF function. Signed-off-by: Stefan Mavrodiev --- Change for v3: - Remove useless warning messages - Change poweroff error messages - Add explanation comments Changes for v2: - Move pm_pwroff_prep_fn to

[PATCH v3 0/2] mfd: rk808: Fix pointers and poweroff

2019-06-07 Thread Stefan Mavrodiev
This patch is actually follow-up to: [PATCH 1/1] mfd: rk808: Prepare rk8085 for poweroff The patchset fixes poweroff function for boards with RK8085 PMU. During the preparation of v2 possible wrong pointer access was spot (pm_power_off), so one more patch was introduced in the series. Stefan

[PATCH v2 1/2] mfd: rk808: Check pm_power_off pointer

2019-05-20 Thread Stefan Mavrodiev
The function pointer pm_power_off may point to function from other module (PSCI for example). If rk808 is removed, pm_power_off is overwritten to NULL and the system cannot be powered off. This patch checks if pm_power_off points to a module function. Signed-off-by: Stefan Mavrodiev --- Changes

[PATCH v2 0/2] mfd: rk808: Fix pointers and poweroff

2019-05-20 Thread Stefan Mavrodiev
This patch is actually follow-up to: [PATCH 1/1] mfd: rk808: Prepare rk8085 for poweroff The patchset fixes poweroff function for boards with RK8085 PMU. During the preparation of v2 possible wrong pointer access was spot (pm_power_off), so one more patch was introduced in the series. Stefan

[PATCH v2 2/2] mfd: rk808: Prepare rk805 for poweroff

2019-05-20 Thread Stefan Mavrodiev
. The solution is to enable pm_power_off_prepare function, which will configure SLEEP pin for OFF function. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Move pm_pwroff_prep_fn to header - Check pm_power_off_prepare before make it NULL drivers/mfd/rk808.c | 29

Re: [PATCH v2 5/8] arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boards

2019-02-18 Thread Stefan Mavrodiev
On 2/15/19 8:49 PM, Pavel Machek wrote: On Fri 2019-02-15 13:50:10, Stefan Mavrodiev wrote: Teres-I and A64-OLinuXino commes with populated LED connected to AXP803. So to be used as battery indication, pass the LED control to the charger itself in mode 0 ( FULL while charging, OFF no battery

Re: [PATCH v2 1/8] leds: Add support for AXP20X CHGLED

2019-02-18 Thread Stefan Mavrodiev
On 2/15/19 8:32 PM, Pavel Machek wrote: Hi! On Fri, Feb 15, 2019 at 01:50:06PM +0200, Stefan Mavrodiev wrote: +static ssize_t control_store(struct device *dev, struct device_attribute *attr, +const char *buf, size_t size) +{ + struct led_classdev *cdev

Re: [PATCH v2 1/8] leds: Add support for AXP20X CHGLED

2019-02-15 Thread Stefan Mavrodiev
On 2/15/19 1:50 PM, Stefan Mavrodiev wrote: Most of AXP20x PMIC chips have built-in battery charger with LED indicator. The LED can be controlled ether by the charger or manually by a register. The default is (except for AXP209) manual control, which makes this LED useless, since there is no

[PATCH v2 6/8] arm: dts: axpxx: add charge led node

2019-02-15 Thread Stefan Mavrodiev
Add dt node for axp20x-led driver controlling CHGLED. Default status is disabled, since it may be not used. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/axp209.dtsi | 5 + arch/arm/boot/dts/axp22x.dtsi | 5 + arch/arm/boot/dts/axp81x.dtsi | 5 + 3 files changed, 15

[PATCH v2 3/8] dt-bindings: leds: Add binding for axp20x-led device driver

2019-02-15 Thread Stefan Mavrodiev
This adds the devicetree bindings for charge led indicator found on most of X-Powers AXP20X PMICs. Signed-off-by: Stefan Mavrodiev --- .../devicetree/bindings/leds/leds-axp20x.txt | 74 +++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v2 5/8] arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boards

2019-02-15 Thread Stefan Mavrodiev
Teres-I and A64-OLinuXino commes with populated LED connected to AXP803. So to be used as battery indication, pass the LED control to the charger itself in mode 0 ( FULL while charging, OFF no battery or completed). Signed-off-by: Stefan Mavrodiev --- arch/arm64/boot/dts/allwinner/sun50i-a64

[PATCH v2 7/8] ARM: dts: sun7i: Enable AXP209 CHGLED for Olimex boards

2019-02-15 Thread Stefan Mavrodiev
idden. Also this binding is enabled only for OLIMEX boards, since I have no knowlegde if the other manifactures are populating this LED. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts| 6 ++ arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts | 6 ++

[PATCH v2 1/8] leds: Add support for AXP20X CHGLED

2019-02-15 Thread Stefan Mavrodiev
driver. Signed-off-by: Stefan Mavrodiev --- drivers/leds/Kconfig | 10 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-axp20x.c | 291 + 3 files changed, 302 insertions(+) create mode 100644 drivers/leds/leds-axp20x.c diff --git a/drivers/leds

[PATCH v2 2/8] mfd: axp20x: Add axp20x-led cell

2019-02-15 Thread Stefan Mavrodiev
Add axp20x-led cell for AXP20x, AXP221, AXP223, AXP228, AXP803, AXP809 and AXP813. Signed-off-by: Stefan Mavrodiev --- drivers/mfd/axp20x.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 3c97f2c0fdfe

[PATCH v2 4/8] arm64: dts: allwinner: axp803: add charge led node

2019-02-15 Thread Stefan Mavrodiev
Add dt node for axp20x-led driver controlling CHGLED. Default status is disabled, since it may be not used. Signed-off-by: Stefan Mavrodiev --- arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch

[PATCH v2 8/8] ARM: dts: sun8i: a33: Enable AXP223 CHGLED for A33-OLinuXino

2019-02-15 Thread Stefan Mavrodiev
ff-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33-olinuxino.dts b/arch/arm/boot/dts/sun8i-a33-olinuxino.dts index 3d78169cdeed..a1e36ee51bbb 100644 --- a/arch/arm/boot/dts/sun8i-a33-olinuxino.dts

[PATCH v2 0/8] leds: Add AXP20X CHGLED

2019-02-15 Thread Stefan Mavrodiev
consumers Stefan Mavrodiev (8): leds: Add support for AXP20X CHGLED mfd: axp20x: Add axp20x-led cell dt-bindings: leds: Add binding for axp20x-led device driver arm64: dts: allwinner: axp803: add charge led node arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boards arm: dts: axpxx

Re: [PATCH 5/5] arm: dts: axpxx: add charge led node

2019-02-05 Thread Stefan Mavrodiev
On 2/5/19 6:16 PM, Chen-Yu Tsai wrote: On Thu, Jan 31, 2019 at 4:25 PM Stefan Mavrodiev wrote: Add dt node for axp20x-led driver controlling CHGLED. Default status is disabled, since it may be not used. Signed-off-by: Stefan Mavrodiev Please include a cover letter for such a patch series

[PATCH 5/5] arm: dts: axpxx: add charge led node

2019-01-31 Thread Stefan Mavrodiev
Add dt node for axp20x-led driver controlling CHGLED. Default status is disabled, since it may be not used. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/axp209.dtsi | 5 + arch/arm/boot/dts/axp22x.dtsi | 5 + arch/arm/boot/dts/axp81x.dtsi | 5 + 3 files changed, 15

[PATCH 4/5] arm64: dts: allwinner: axp803: add charge led node

2019-01-31 Thread Stefan Mavrodiev
Add dt node for axp20x-led driver controlling CHGLED. Default status is disabled, since it may be not used. Signed-off-by: Stefan Mavrodiev --- arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch

[PATCH 3/5] dt-bindings: leds: Add binding for axp20x-led device driver

2019-01-31 Thread Stefan Mavrodiev
This adds the devicetree bindings for charge led indicator found on most of X-Powers AXP20X PMICs. Signed-off-by: Stefan Mavrodiev --- .../devicetree/bindings/leds/leds-axp20x.txt | 74 +++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 2/5] mfd: axp20x: Add axp20x-led cell

2019-01-31 Thread Stefan Mavrodiev
Add axp20x-led cell for AXP20x, AXP221, AXP223, AXP228, AXP803, AXP809 and AXP813. Signed-off-by: Stefan Mavrodiev --- drivers/mfd/axp20x.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 3c97f2c0fdfe

[PATCH 1/5] leds: Add support for AXP20X CHGLED

2019-01-31 Thread Stefan Mavrodiev
driver. Signed-off-by: Stefan Mavrodiev --- drivers/leds/Kconfig | 10 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-axp20x.c | 283 + 3 files changed, 294 insertions(+) create mode 100644 drivers/leds/leds-axp20x.c diff --git a/drivers/leds

Re: [PATCH 1/1] mfd: rk808: Prepare rk805 for poweroff

2019-01-09 Thread Stefan Mavrodiev
On 1/9/19 3:11 PM, Heiko Stübner wrote: Am Mittwoch, 9. Januar 2019, 14:10:34 CET schrieb Stefan Mavrodiev: On 1/9/19 3:07 PM, Heiko Stübner wrote: Hi Stefan, Lee, Am Dienstag, 2. Oktober 2018, 09:38:29 CET schrieb Stefan Mavrodiev: RK805 has SLEEP signal, which can put the device into

Re: [PATCH 1/1] mfd: rk808: Prepare rk805 for poweroff

2019-01-09 Thread Stefan Mavrodiev
On 1/9/19 3:07 PM, Heiko Stübner wrote: Hi Stefan, Lee, Am Dienstag, 2. Oktober 2018, 09:38:29 CET schrieb Stefan Mavrodiev: RK805 has SLEEP signal, which can put the device into SLEEP or OFF mode. The default is SLEEP mode. However, when the kernel performs power-off (actually the ATF) the

[PATCH 1/1] mfd: rk808: Prepare rk805 for poweroff

2018-10-02 Thread Stefan Mavrodiev
. The solution is to enable pm_power_off_prepare function, which will configure SLEEP pin for OFF function. Signed-off-by: Stefan Mavrodiev --- drivers/mfd/rk808.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 216fbf6

[PATCH v2 1/1] mmc: sunxi: Disable irq during pm_suspend

2018-07-03 Thread Stefan Mavrodiev
sunxi: Add runtime_pm support") Signed-off-by: Stefan Mavrodiev --- Changes in v2: - Add comment why disable_irq() is necessary --- drivers/mmc/host/sunxi-mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index e74725

[PATCH 1/1] mmc: sunxi: Disable irq during pm_suspend

2018-07-03 Thread Stefan Mavrodiev
sunxi: Add runtime_pm support") Signed-off-by: Stefan Mavrodiev --- drivers/mmc/host/sunxi-mmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index e747259..acae7a8 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/

Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board

2018-05-17 Thread Stefan Mavrodiev
On 05/17/2018 10:25 AM, Stefan Wahren wrote: Hi Stefan, Stefan Mavrodiev hat am 16. Mai 2018 um 13:38 geschrieben: With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. Currently used card is KLMAG2GEND, wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot

[PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board

2018-05-16 Thread Stefan Mavrodiev
With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. Currently used card is KLMAG2GEND, wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts | 37

[PATCH v2 2/2] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB-eMMC board

2018-01-29 Thread Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Replaced license header with SPDX-License-Identifier arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun7i-a20-olimex-som204-evb

[PATCH v2 1/2] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-29 Thread Stefan Mavrodiev
are multiplexed and cannot be used the same time: CAN and Megabit PHY. Others are not usable with A20 SoC: PCIe and USB3. [1] https://www.olimex.com/Products/SOM204/ Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Replace license header with SPDX-License-Identifier - Removed useless

Re: [PATCH 1/1] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-23 Thread Stefan Mavrodiev
On 01/20/2018 08:08 AM, Chen-Yu Tsai wrote: On Fri, Jan 19, 2018 at 9:27 PM, Stefan Mavrodiev wrote: On 01/18/2018 04:28 PM, Chen-Yu Tsai wrote: On Thu, Jan 18, 2018 at 6:07 PM, Maxime Ripard wrote: Hi! On Mon, Jan 15, 2018 at 12:07:34PM +0200, Stefan Mavrodiev wrote: +/dts-v1/; +#include

Re: [PATCH 1/1] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-19 Thread Stefan Mavrodiev
On 01/18/2018 04:28 PM, Chen-Yu Tsai wrote: On Thu, Jan 18, 2018 at 6:07 PM, Maxime Ripard wrote: Hi! On Mon, Jan 15, 2018 at 12:07:34PM +0200, Stefan Mavrodiev wrote: +/dts-v1/; +#include "sun7i-a20.dtsi" +#include "sunxi-common-regulators.dtsi" + + +#include

Re: [PATCH 1/1] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-15 Thread Stefan Mavrodiev
On 01/15/2018 11:50 AM, Maxime Ripard wrote: Hi Stefan, On Fri, Jan 12, 2018 at 11:01:05AM +0200, Stefan Mavrodiev wrote: This is new System-On-Module platform with universal dimm socket for easy insertation. The EVB board is designed to be universal with future modules. Product page is

[PATCH 1/1] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-12 Thread Stefan Mavrodiev
are multiplexed and cannot be used the same time: CAN and Megabit PHY. Others are not usable with A20 SoC: PCIe and USB3. [1] https://www.olimex.com/Products/SOM204/ Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile | 2 + .../boot/dts/sun7i-a20-olimex

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-18 Thread Stefan Mavrodiev
On 12/18/2017 11:28 AM, Maxime Ripard wrote: On Mon, Dec 18, 2017 at 08:24:21AM +0200, Stefan Mavrodiev wrote: On 12/15/2017 05:08 PM, Maxime Ripard wrote: Hi, On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote: On 12/13/2017 05:40 PM, Maxime Ripard wrote: Hi, On Wed, Dec 13

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-17 Thread Stefan Mavrodiev
On 12/15/2017 05:08 PM, Maxime Ripard wrote: Hi, On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote: On 12/13/2017 05:40 PM, Maxime Ripard wrote: Hi, On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote: Allwinner A10/A13/A20 SoCs have pinmux for spi0 on port C

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-13 Thread Stefan Mavrodiev
On 12/13/2017 05:40 PM, Maxime Ripard wrote: Hi, On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote: Allwinner A10/A13/A20 SoCs have pinmux for spi0 on port C. The patch adds these pins in the respective dts includes. Signed-off-by: Stefan Mavrodiev Do you have any boards that

[PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-12 Thread Stefan Mavrodiev
Allwinner A10/A13/A20 SoCs have pinmux for spi0 on port C. The patch adds these pins in the respective dts includes. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun4i-a10.dtsi | 10 ++ arch/arm/boot/dts/sun5i.dtsi | 10 ++ arch/arm/boot/dts/sun7i-a20.dtsi | 10

[PATCH 1/1] ARM: dts: sunxi: Update dts for A20-OLinuXino boards

2017-11-27 Thread Stefan Mavrodiev
dissabled by default. Also this option is incompatible with NAND flash, so they shouldn't be enabled at the same time. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 14 ++ arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 14 ++

Re: [PATCH v2 1/2] ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for LAN8710

2017-08-30 Thread Stefan Mavrodiev
On 08/30/2017 05:37 PM, Maxime Ripard wrote: Hi, On Mon, Aug 28, 2017 at 09:32:42AM +0300, Stefan Mavrodiev wrote: From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes phy not to work. To fix this PA17 is muxed with GMAC

[PATCH v2 2/2] ARM: dts: sun7i: Add dts file for A20-OLinuXino-MICRO-eMMC

2017-08-27 Thread Stefan Mavrodiev
A20-OLinuXino-MICRO has option with onboard eMMC chip. For now it's only shipped with 4BG chip, but in the future this may change. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun7i-a20-olinuxino-micro-emmc.dts

[PATCH v2 1/2] ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for LAN8710

2017-08-27 Thread Stefan Mavrodiev
n't connected to phy. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index 0b7403e.

[PATCH v2 0/2] Update board support for A20-OLinuXino-MICRO

2017-08-27 Thread Stefan Mavrodiev
ion Stefan Mavrodiev (2): ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for LAN8710 ARM: dts: sun7i: Add dts file for A20-OLinuXino-MICRO-eMMC arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun7i-a20-olinuxino-micro-emmc.dts| 70 ++ arch/arm/boot/

[PATCH 3/3] ARM: dts: sun7i: Rename sun7i-a20-olinuxino-lime2-emmc

2017-08-22 Thread Stefan Mavrodiev
A20-OLinuXIno-LIME2-n8GB - 8GB NAND Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile| 2 +- ...20-olinuxino-lime2-emmc.dts => sun7i-a20-olinuxino-lime2-exgb.dts} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename arch/

[PATCH 1/3] ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for use with LAN8710

2017-08-22 Thread Stefan Mavrodiev
gned-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index 0b7403e4d687..578c761b551a 100644 --

[PATCH 2/3] ARM: dts: sun7i: Add dts file for A20-OLinuXino-MICRO-exGB

2017-08-22 Thread Stefan Mavrodiev
.dts new file mode 100644 index ..2c592748e474 --- /dev/null +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro-exgb.dts @@ -0,0 +1,81 @@ +/* + * Copyright 2017 Olimex Ltd. + * + * Stefan Mavrodiev + * + * This file is dual-licensed: you can use it either under the terms + * of the G

[PATCH 0/3] Update board support for OLinuXino boards

2017-08-22 Thread Stefan Mavrodiev
. Stefan Mavrodiev (3): ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for use with LAN8710 ARM: dts: sun7i: Add dts file for A20-OLinuXino-MICRO-exGB ARM: dts: sun7i: Rename sun7i-a20-olinuxino-lime2-emmc arch/arm/boot/dts/Makefile | 3 +- ...emmc.dts => sun7i-a20-olinux

[PATCH v5] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-08-15 Thread Stefan Mavrodiev
there is CSI/DSI connector. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Removed unused power nodes - Removed default-trigger for green led - Removed "always-on" option for LCD power Changes for v3: - Nodes are sorted alphabetically Chan

Re: [PATCH v4] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-07-27 Thread stefan . mavrodiev
me MMC regulator doesn't fit that description. > It's named upon the A33 power pin - "VCC-DSI". If I remove "always-on" the board still will work, since dcdc1 is tied to mmc0. vmmc-supply = <®_dcdc1>; We assume this voltage will be always present and there are some pullups that are tied to it (on i2c0 and i2c1 bus). In this case should I remove "always- on" from the regulator node? > Maxime Best regards, Stefan Mavrodiev

Re: [PATCH v4] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-07-26 Thread stefan . mavrodiev
On Tuesday, July 26, 2016 5:33:52 PM EEST Maxime Ripard wrote: > Hi Stefan, > > On Mon, Jul 25, 2016 at 03:37:23PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD

[PATCH v4] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-07-25 Thread Stefan Mavrodiev
there is CSI/DSI connector. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Removed unused power nodes - Removed default-trigger for green led - Removed "always-on" option for LCD power Changes for v3: - Nodes are sorted alphabetically Chan

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-07-15 Thread stefan . mavrodiev
Hi Olliver, Why are you using nRST signal? What I mean is this pin is inactive on this eMMC chip. To use the signal byte 162 of ECSD registers should be written. On my board, this "reset" signal causes eMMC not to work. Best regards, Stefan Mavrodiev

Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-23 Thread stefan . mavrodiev
сряда, 22 юни 2016 г., 16:22:34 UTC+3, Maxime Ripard написа: > Hi, > > On Mon, Jun 20, 2016 at 01:32:49PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-O

[PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-20 Thread Stefan Mavrodiev
there is CSI/DSI connector. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Removed unused power nodes - Removed default-trigger for green led - Removed "always-on" option for LCD power Changes for v3: - Nodes are sorted alphabetically arch/ar

[PATCH v2] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-19 Thread Stefan Mavrodiev
there is CSI/DSI connector. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Removed unused power nodes - Removed default-trigger for green led - Removed "always-on" option for LCD power arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts

[PATCH] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-18 Thread Stefan Mavrodiev
there is CSI/DSI connector. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 223 ++ 2 files changed, 224 insertions(+) create mode 100644 arch/arm/boot/dts/sun8i-a33-olinuxino.dts diff