On Sat, Jan 12, 2019 at 5:32 AM Vasily Khoruzhick wrote:
>
> On Fri, Jan 11, 2019 at 10:04 AM Jagan Teki
> wrote:
> >
> > I thought of waiting this till CLK framework gets Mainline,
> > but migration deadline for DM_MMC and BLK seems expiring in
> > next release. So instead of doing so huddle a
On Sat, Jan 12, 2019 at 1:30 AM Jernej Skrabec wrote:
>
> A64 IR is compatible with A13, so add A64 compatible with A13 as a
> fallback.
We ask people to add the SoC-specific compatible as a contigency,
in case things turn out to be not so "compatible".
To be consistent with all the other SoCs a
Hi,
I am running stable kernel 4.20.1 on NanoPi A64 with the linux-sunxi
community patches and it works really well thanks for the hard work however
i am struggling to get the sound card (any) detected and the upper USB
receptacle is not working (for some reason).
Regarding the USB upper slot
I thought of waiting this till CLK framework gets Mainline,
but migration deadline for DM_MMC and BLK seems expiring in
next release. So instead of doing so huddle and make some last
minute changes, I have managed to add CLK, Reset code for mmc
driver via driver data.
Add for all Allwinner So
Unlike other Allwinner SoC's, A80 comes with different ahb
gate clock offset values and also has mmc common controller.
So support them via driver data.
Cc: Rask Ingemann Lambertsen
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 24
1 file changed, 24 insertion
Add emmc compatible for A83T SoC.
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 0b17e2c391..5557111c1f 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi_mmc.c
@@ -71
Added H5, A64 compatible for mmc and emmc.
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 5557111c1f..b50d70645a 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi
Enable DM_MMC for all Allwinner SoCs, this will eventually
enable BLK.
Also removed DM_MMC enablement in few parts of sunxi
configurations.
Signed-off-by: Jagan Teki
---
arch/arm/Kconfig | 1 +
arch/arm/mach-sunxi/Kconfig | 1 -
configs/Linksprite_pcDuino3_defconf
Unlike other Allwinner SoC's, H6 comes with different
clock and reset control offset values. So support them
via driver data.
Signed-off-by: Jagan Teki
---
.../arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 3 +++
drivers/mmc/sunxi_mmc.c | 16
2 files c
Environment and fastboot MMC devices are configured based number
of mmc slots defined on particular board in sunxi platform.
If number of slots are not more than 1, it assigns 0 which usually mmc
device on SD slot. With DM_MMC it is detected as 0 since mmc0 node always
be an mmc device.
If number
I thought of waiting this till CLK framework gets Mainline,
but migration deadline for DM_MMC and BLK seems expiring in
next release. So instead of doing so huddle and make some last
minute changes, I have managed to add CLK, Reset code for mmc
driver via driver data.
Add for all Allwinner So
Start with Allwinner A31, mmc controllers do support reset
control bit. This code add support to enable the reset control
start from SUN6I even though it share same compatible between
SUN4I and SUN6I.
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 21 +++--
1 file change
IR on A64 is nothing special and very similar to IR on A13 to the point
that same driver can be used.
Following patches just add necessary DT changes.
Best regards,
Jernej
Igors Makejevs (1):
arm64: dts: allwinner: a64: Add IR node
Jernej Skrabec (2):
media: dt: bindings: sunxi-ir: Add A64
From: Igors Makejevs
IR is similar to that in A13 and can use same driver.
Signed-off-by: Igors Makejevs
Signed-off-by: Jernej Skrabec
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i
OrangePi Win board contains IR receiver. Enable it.
Signed-off-by: Jernej Skrabec
---
arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
b/arch/arm64/boot/dts/allwinner/sun50
A64 IR is compatible with A13, so add A64 compatible with A13 as a
fallback.
Signed-off-by: Jernej Skrabec
---
Documentation/devicetree/bindings/media/sunxi-ir.txt | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt
b/Docu
On Fri, Jan 11, 2019 at 5:54 PM Tom Rini wrote:
>
> On Fri, Jan 11, 2019 at 12:46:36PM +0530, Jagan Teki wrote:
> > On Sat, Dec 22, 2018 at 7:06 AM Andre Przywara
> > wrote:
> > >
> > > So far we used the separate mksunxiboot tool for generating a bootable
> > > image for Allwinner SPLs, probabl
On Fri, Jan 11, 2019 at 8:41 PM Zoltan HERPAI wrote:
>
> Hi,
>
> Jagan Teki wrote:
> >>> A20, can boot as it is, it doesn't effect mmc node on DT, since DM_MMC
> >>> is not available.
> >>>
> That's interesting, the Linksprite_pcDuino3_defconfig does have DM_MMC
> set, and after applying your patc
Chen-Yu and Rask,
On Fri, Jan 11, 2019 at 4:46 PM Jagan Teki wrote:
>
> Update all A80 devicetree dtsi and dtsi files from
> Linux-v4.18-rc3 with below commits.
>
> arch/arm/boot/dts/sun9i-a80*:
>
> commit 190e3138f9577885691540dca59c2f07540bde04
> Merge: cafc87023b0d a7affb13b271
> Author: Arnd
Hi,
Jagan Teki wrote:
A20, can boot as it is, it doesn't effect mmc node on DT, since DM_MMC
is not available.
That's interesting, the Linksprite_pcDuino3_defconfig does have DM_MMC
set, and after applying your patch (thanks for working it out), it does
fix this A20 board as well. A qui
On Fri, Jan 11, 2019 at 12:46:36PM +0530, Jagan Teki wrote:
> On Sat, Dec 22, 2018 at 7:06 AM Andre Przywara wrote:
> >
> > So far we used the separate mksunxiboot tool for generating a bootable
> > image for Allwinner SPLs, probably just for historical reasons.
> >
> > Use the mkimage framework t
CLK and DM_RESET drivers are now available for all of
the Allwinner platforms, so enable them in arch/arm/Kconfig
Enabling CLK will select DM_RESET by default.
Signed-off-by: Jagan Teki
---
Changes for v6.1:
- Enable CLK at one place since all Allwinner SoC's supported
arch/arm/Kconfig | 1 +
22 matches
Mail list logo