HI,
On Sun, Jan 3, 2021 at 8:52 PM Dmitry Osipenko wrote:
>
> 01.01.2021 19:54, Yangtao Li пишет:
> > Hi,
> >
> > This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
> > devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
> > devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_ta
HI Maxime,
Any comment?
BR / Yangtao
HI shuosheng,
On Fri, Dec 4, 2020 at 3:11 PM Shuosheng Huang
wrote:
>
> Add an Operating Performance Points table for the CPU cores to
> enable Dynamic Voltage & Frequency Scaling on the A100.
>
> Signed-off-by: Shuosheng Huang
> ---
> .../allwinner/sun50i-a100-allwinner-perf1.dts | 5 ++
> ..
HI,
On Wed, Nov 11, 2020 at 11:44 AM Samuel Holland wrote:
>
> On 11/9/20 6:12 AM, Frank Lee wrote:
> > From: Yangtao Li
> >
> > The debounce and poll time is generally quite long and the work not
> > performance critical so allow the scheduler to run the work a
On Tue, Nov 10, 2020 at 4:43 PM Krzysztof Kozlowski wrote:
>
> On Tue, 10 Nov 2020 at 07:00, Frank Lee wrote:
> >
> > It seems that sending too many e-mails at one time will cause some
> > emails to fail to be sent out. I will try again.
>
> Hi,
>
> Inste
From: Yangtao Li
Add myself to sunxi maintainer so the mail can cc me.
Signed-off-by: Yangtao Li
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 94ac10a153c7..0ddaf9641546 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1545,6 +1545,7 @@ F:
From: Yangtao Li
The A100 has 3 MMC controllers, one of them being especially targeted to
eMMC. Let's add nodes on dts.
Signed-off-by: Yangtao Li
---
.../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 71 +++
1 file changed, 71 insertions(+)
diff --git a/arch/arm64/boot/dts/allwi
From: Yangtao Li
A100 perf1 hava MicroSD slot and on-board eMMC module, add support for them.
Signed-off-by: Yangtao Li
---
.../allwinner/sun50i-a100-allwinner-perf1.dts| 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner
From: Yangtao Li
This patch adds support for A100 MMC controller, which use word address
for internal dma.
Signed-off-by: Yangtao Li
---
drivers/mmc/host/sunxi-mmc.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/sunxi-mmc.c b
From: Yangtao Li
Add binding for A100's mmc and emmc controller.
Signed-off-by: Yangtao Li
---
.../devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml| 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
b/Documentati
From: Yangtao Li
Add USB support on A100 perf1 board, which include two USB2.0 port.
Signed-off-by: Yangtao Li
---
.../allwinner/sun50i-a100-allwinner-perf1.dts | 38 +++
1 file changed, 38 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dt
From: Yangtao Li
Allwinner A64 have two HCI USB controllers, a OTG controller and a USB
PHY device, let's add nodes on dts.
Signed-off-by: Yangtao Li
---
.../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 91 +++
1 file changed, 91 insertions(+)
diff --git a/arch/arm64/boot/dts/a
From: Yangtao Li
Add support for a100's usb phy, which with 2 PHYs.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index
From: Yangtao Li
Add a device tree binding for the A100's USB PHY.
Signed-off-by: Yangtao Li
---
.../phy/allwinner,sun50i-a100-usb-phy.yaml| 105 ++
1 file changed, 105 insertions(+)
create mode 100644
Documentation/devicetree/bindings/phy/allwinner,sun50i-a100-usb-phy.ya
From: Yangtao Li
Declare A100's watchdog in the device-tree.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
From: Yangtao Li
Add a binding for A100's watchdog controller.
Signed-off-by: Yangtao Li
---
.../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
b/Documen
From: Yangtao Li
Use the devm_platform_ioremap_resource_byname() and
devm_platform_ioremap_resource helper to simplify the code.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 9 +++--
drivers/phy/allwinner/phy-sun50i-usb3.c | 4 +---
drivers/phy/allwinner/
From: Yangtao Li
For the current code, enable_pmu_unk1 only works in non-a83t and non-h6
types. So let's delete it from the sun50i_h6_cfg.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.
From: Yangtao Li
Add the Performance Monitoring Unit (PMU) device tree node to the A100
.dtsi, which tells DT users which interrupts are triggered by PMU overflow
events on each core.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 15 ---
1 file chan
From: Yangtao Li
The A100 SoC has a DMA controller that supports 8 DMA channels
to and from various peripherals.
Add a device node for it.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/
From: Yangtao Li
The dma of a100 is similar to h6, with some minor changes to
support greater addressing capabilities.
Add support for it.
Signed-off-by: Yangtao Li
---
drivers/dma/sun6i-dma.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/dma/sun6i-dma
From: Yangtao Li
Add a binding for A100's dma controller.
Signed-off-by: Yangtao Li
---
.../devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml| 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
b/D
From: Yangtao Li
It is found on many allwinner soc that there is a low probability that
the interrupt status cannot be read in sunxi_pinctrl_irq_handler. This
will cause the interrupt status of a gpio bank to always be active on
gic, preventing gic from responding to other spi interrupts correctl
From: Yangtao Li
The interrupt descriptor cannot be found in the interrupt processing
function, and this situation cannot happen when the system is running
normally. It doesn't seem right to return directly to the status of not
handling gic. In this case, it must be a bug, let's mark it with
WARN
From: Yangtao Li
A100's pin starts with PB, so it should start with 1.
Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin
controller")
Signed-off-by: Yangtao Li
---
drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Let's add watchdog, arm-pmu, dma, usb, mmc. support for allwinner
a100 soc.
Yangtao Li (19):
pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller
pinctrl: sunxi: Mark the irq bank not found in
sunxi_pinctrl_irq_handler() with WARN_ON
pinctrl: sunxi: Always call chai
It seems that sending too many e-mails at one time will cause some
emails to fail to be sent out. I will try again.
BR / Yangtao
From: Yangtao Li
Add a binding for A100's dma controller.
Signed-off-by: Yangtao Li
---
.../devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml| 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
b/D
From: Yangtao Li
The A100 SoC has a DMA controller that supports 8 DMA channels
to and from various peripherals.
Add a device node for it.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/
From: Yangtao Li
For the current code, enable_pmu_unk1 only works in non-a83t and non-h6
types. So let's delete it from the sun50i_h6_cfg.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.
From: Yangtao Li
Add the Performance Monitoring Unit (PMU) device tree node to the A100
.dtsi, which tells DT users which interrupts are triggered by PMU overflow
events on each core.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 15 ---
1 file chan
From: Yangtao Li
Use the devm_platform_ioremap_resource_byname() and
devm_platform_ioremap_resource helper to simplify the code.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 9 +++--
drivers/phy/allwinner/phy-sun50i-usb3.c | 4 +---
drivers/phy/allwinner/
From: Yangtao Li
The dma of a100 is similar to h6, with some minor changes to
support greater addressing capabilities.
Add support for it.
Signed-off-by: Yangtao Li
---
drivers/dma/sun6i-dma.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/dma/sun6i-dma
From: Yangtao Li
It is found on many allwinner soc that there is a low probability that
the interrupt status cannot be read in sunxi_pinctrl_irq_handler. This
will cause the interrupt status of a gpio bank to always be active on
gic, preventing gic from responding to other spi interrupts correctl
From: Yangtao Li
The interrupt descriptor cannot be found in the interrupt processing
function, and this situation cannot happen when the system is running
normally. It doesn't seem right to return directly to the status of not
handling gic. In this case, it must be a bug, let's mark it with
BUG_
Hi,
Let's add watchdog, arm-pmu, dma, usb, mmc. support for allwinner
a100 soc.
Yangtao Li (19):
pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller
pinctrl: sunxi: Mark the irq bank not found in
sunxi_pinctrl_irq_handler() with WARN_ON
pinctrl: sunxi: Always call
From: Yangtao Li
A100's pin starts with PB, so it should start with 1.
Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin
controller")
Signed-off-by: Yangtao Li
---
drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
On Tue, Nov 3, 2020 at 11:14 PM Pali Rohár wrote:
>
> This patch adds missing MODULE_DEVICE_TABLE definition which generates
> correct modalias for automatic loading of this cpufreq driver when it is
> compiled as an external module.
>
> Signed-off-by: Pali Rohár
> Fixes: f328584f7bff8 ("cpufreq:
HI Maxime,
Maybe let's convert to use something like SUN4I_PA?
Yangtao
From: Yangtao Li
Sid should be an efuse type device accurately. And no one
needs sid label, so delete it.
Signed-off-by: Yangtao Li
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dts
From: Yangtao Li
The debounce and poll time is generally quite long and the work not
performance critical so allow the scheduler to run the work anywhere
rather than in the normal per-CPU workqueue.
Signed-off-by: Yangtao Li
---
drivers/phy/allwinner/phy-sun4i-usb.c | 14 +++---
1 file
From: Yangtao Li
The debounce timeout is generally quite long and the work not performance
critical so allow the scheduler to run the work anywhere rather than in
the normal per-CPU workqueue.
Signed-off-by: Yangtao Li
---
drivers/power/supply/axp20x_usb_power.c | 8
1 file changed, 4
From: Yangtao Li
s/on on/on
Signed-off-by: Yangtao Li
---
drivers/power/supply/axp20x_usb_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/axp20x_usb_power.c
b/drivers/power/supply/axp20x_usb_power.c
index 0eaa86c52874..3b4fd710347d 100644
--- a
From: Yangtao Li
The bitmap_* API is the standard way to access data in the bitfield.
So convert irq_ack to return an unsigned long, and make things to use
bitmap API.
Signed-off-by: Yangtao Li
---
v2:
Make irq_ack to return an unsigned long
---
drivers/thermal/sun8i_thermal.c | 33 +++
I forgot to add "V2", I will resend.
Yangtao
From: Yangtao Li
The bitmap_* API is the standard way to access data in the bitfield.
So convert irq_ack to return an unsigned long, and make things to use
bitmap API.
Signed-off-by: Yangtao Li
---
v2:
Make irq_ack to return an unsigned long
---
drivers/thermal/sun8i_thermal.c | 33 +++
On Mon, Nov 9, 2020 at 1:53 PM Viresh Kumar wrote:
>
> On 09-11-20, 08:44, Dmitry Osipenko wrote:
> > 09.11.2020 08:35, Viresh Kumar пишет:
> > > On 09-11-20, 08:19, Dmitry Osipenko wrote:
> > >> Thanks, I made it in a different way by simply adding helpers to the
> > >> pm_opp.h which use devm_ad
On Fri, Nov 6, 2020 at 9:18 PM Dmitry Osipenko wrote:
>
> 06.11.2020 09:15, Viresh Kumar пишет:
> > Setting regulators for count as 0 doesn't sound good to me.
> >
> > But, I understand that you don't want to have that if (have_regulator)
> > check, and it is a fair request. What I will instead do
On Wed, Oct 28, 2020 at 10:46 PM Viresh Kumar wrote:
>
> On 28-10-20, 19:02, Frank Lee wrote:
> > On Wed, Oct 28, 2020 at 6:29 PM Viresh Kumar
> > wrote:
> > >
> > > On 12-10-20, 21:55, Frank Lee wrote:
> > > > From: Yangtao Li
> > >
On Wed, Jul 29, 2020 at 9:06 PM Maxime Ripard wrote:
>
> Hi,
>
> On Sat, Jul 25, 2020 at 02:18:39PM -0500, Samuel Holland wrote:
> > On 7/17/20 11:07 AM, Maxime Ripard wrote:
> > > Hi!
> > >
> > > On Wed, Jul 15, 2020 at 07:54:12PM +0
On Wed, Oct 28, 2020 at 6:29 PM Viresh Kumar wrote:
>
> On 12-10-20, 21:55, Frank Lee wrote:
> > From: Yangtao Li
> >
> > Add devres wrapper for dev_pm_opp_set_prop_name() to simplify driver
> > code.
> >
> > Signed-off-by: Yangtao Li
> > Sig
From: Yangtao Li
Thw bitmap_* API is the standard way to access data in the bitfield.
Signed-off-by: Yangtao Li
---
drivers/thermal/sun8i_thermal.c | 35 +
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/
From: Yangtao Li
Use dev_pm_opp_put_prop_name() to avoid mem leak, which free opp_table.
Signed-off-by: Yangtao Li
Signed-off-by: Yangtao Li
---
drivers/cpufreq/sti-cpufreq.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpuf
From: Yangtao Li
Use the devm_pm_opp_set_supported_hw() to avoid memory leaks in some cases.
Signed-off-by: Yangtao Li
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
From: Yangtao Li
Add devres wrapper for dev_pm_opp_set_supported_hw() to simplify driver
code.
Signed-off-by: Yangtao Li
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 41 +
include/linux/pm_opp.h | 8
2 files changed, 49 insertions(+)
Hi, this patchset introduce devm_pm_opp_set_prop_name() and
devm_pm_opp_set_supported_hw().
Yangtao Li (3):
opp: Add devres wrapper for dev_pm_opp_set_supported_hw
opp: Add devres wrapper for dev_pm_opp_set_prop_name
drm/msm: Convert to devm_pm_opp_set_supported_hw
drivers/gpu/drm/msm/adre
From: Yangtao Li
Add devres wrapper for dev_pm_opp_set_prop_name() to simplify driver
code.
Signed-off-by: Yangtao Li
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 39 +++
include/linux/pm_opp.h | 6 ++
2 files changed, 45 insertions(+)
diff
HI Linus,
On Fri, Aug 28, 2020 at 6:02 PM Linus Walleij wrote:
>
> On Fri, Jul 24, 2020 at 8:53 AM Frank Lee wrote:
>
> > This patch set adds initial support for allwinner a100 soc,
> > which is a 64-bit tablet chip.
>
> Shall I commit the pinctrl patches (if Maxime
From: Yangtao Li
No one cares about the return value of this function, which only
increases the time spent in idle loop. Let's drop it.
Signed-off-by: Yangtao Li
---
kernel/sched/idle.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kernel/sched/idle.c b/kernel/sched/i
From: Yangtao Li
No one cares about the return value of this function, which only
increases the time spent in idle loop. Let's drop it.
Signed-off-by: Yangtao Li
---
kernel/sched/idle.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kernel/sched/idle.c b/kernel/sched/i
ping..
HI Maxime,
Any comments on thermal and other patches?
I hope these patches can be integrated into the mainline as soon as possible.
Thx,
Yangtao
From: Yangtao Li
A100 perf1 is an Allwinner A100-based SBC, with the following features:
- 1GiB DDR3 DRAM
- AXP803 PMIC
- 2 USB 2.0 ports
- MicroSD slot and on-board eMMC module
- on-board Nand flash
- ···
Adds initial support for it, including UART and PMU.
Signed-off-by: Yangtao Li
---
arc
From: Yangtao Li
Document board compatible names for Allwinner A100 Perf1 Board.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
b
From: Yangtao Li
Allwinner A100 is a new SoC with Cortex-A53 cores, this commit adds
the basical DTSI file of it, including the clock, i2c, pins, sid, ths,
nmi, and UART support.
Signed-off-by: Yangtao Li
---
.../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 364 ++
1 file change
From: Yangtao Li
Allwinner A100 have a mv64xxx i2c interface available to be used.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c
From: Yangtao Li
Add a binding for A100's nmi controller.
Signed-off-by: Yangtao Li
Acked-by: Rob Herring
---
.../interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/Documentation/devicetree/bindings/interrupt-controller/allwinner
From: Yangtao Li
There is no one use "allwinner,sun9i-a80-sc-nmi". The A80 uses
"allwinner,sun9i-a80-nmi".
Let's fix it.
Signed-off-by: Yangtao Li
Acked-by: Rob Herring
---
.../interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Yangtao Li
The AXP803 can be used both using the RSB proprietary bus, or a more
traditional I2C bus.
Let's add that possibility.
Signed-off-by: Yangtao Li
Acked-by: Chen-Yu Tsai
---
drivers/mfd/axp20x-i2c.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mfd/axp20x-i2c.c
From: Yangtao Li
For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of
calculation. On the other hand, the newer SOC may store other data in
the space other than 12bit sensor data. Add mask operation to read data
to avoid conversion error.
Signed-off-by: Yangtao Li
---
drive
From: Yangtao Li
This patch add thermal sensor controller support for A100,
which is similar to the previous ones.
Signed-off-by: Yangtao Li
---
drivers/thermal/sun8i_thermal.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal
From: Yangtao Li
Add a binding for A100's ths controller.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/bindings/thermal/allw
From: Yangtao Li
Add a binding for A100's SID controller.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../nvmem/allwinner,sun4i-a10-sid.yaml| 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git
a/Documentation/devicetree/bindings/nvmem/allw
From: Yangtao Li
This commit introduces support for the pin controller on A100.
Signed-off-by: Yangtao Li
---
drivers/pinctrl/sunxi/Kconfig | 10 +
drivers/pinctrl/sunxi/Makefile| 2 +
drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c | 105 +++
drivers/pinctrl/s
From: Yangtao Li
Add device tree binding Documentation details for A100 pinctrl driver,
which has a r pin controller and a pin controller with more irq lines.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 15 +++
1 file
From: Yangtao Li
Rather than a continual nesting of 'else' clauses, just make
each 'if' a new entry under 'allOf' and get rid of the else.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 124 ++
1 file changed, 68 insertio
From: Yangtao Li
Add support for a100 in the sunxi-ng CCU framework.
Signed-off-by: Yangtao Li
---
drivers/clk/sunxi-ng/Kconfig | 10 +
drivers/clk/sunxi-ng/Makefile |2 +
drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c | 214 +++
drivers/clk/sunxi-ng/ccu-
From: Yangtao Li
This patch adds binding to a100's ccu clock and r-ccu clock.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/b
This patch set adds initial support for allwinner a100 soc,
which is a 64-bit tablet chip.
v5:
-Drop redundant SOB for thermal series patch
-Trival a100 dtsi fix
v4:
-Drop "dt-bindings: pinctrl: sunxi: make gpio banks supplies required"
-Fix dcdc1 regulator name
-Get rid of underscore in dts node
HI,
On Fri, Jul 24, 2020 at 12:54 AM Maxime Ripard wrote:
>
> Hi,
>
> On Tue, Jul 14, 2020 at 03:20:29PM +0800, Frank Lee wrote:
> > From: Yangtao Li
> >
> > Allwinner A100 is a new SoC with Cortex-A53 cores, this commit adds
> > the basical DTSI file of it,
HI,
On Fri, Jul 17, 2020 at 3:56 PM Daniel Lezcano
wrote:
>
> On 17/07/2020 09:35, Frank Lee wrote:
> > On Fri, Jul 17, 2020 at 12:26 PM Daniel Lezcano
> > wrote:
> >>
> >> On 14/07/2020 09:13, Frank Lee wrote:
> >>> From: Yangtao Li
> >>
On Fri, Jul 17, 2020 at 12:28 PM Daniel Lezcano
wrote:
>
> On 14/07/2020 08:55, Frank Lee wrote:
> > From: Yangtao Li
>
> Do you expect me to pick patches 7,8,9 or ack them ?
>
Please pick it.
Thx,
Yangtao
On Fri, Jul 17, 2020 at 12:26 PM Daniel Lezcano
wrote:
>
> On 14/07/2020 09:13, Frank Lee wrote:
> > From: Yangtao Li
> >
> > For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of
> > calculation. On the other hand, the newer SOC may store oth
From: Yangtao Li
Convert gpio.h to sunxi-gpio.h, and convert to use gpio bank name macro.
This is done using the following command.
sed -i 's/r_pio 0/r_pio PL/g' arch/arm64/boot/dts/allwinner/*
sed -i 's/r_pio 1/r_pio PM/g' arch/arm64/boot/dts/allwinner/*
sed -i 's/\&pio 0/\&pio PA/g' arch/arm6
From: Yangtao Li
Use names instead of numbers to describe GPIO. We clean arm64 first.
Since H5 uses the DTS file in arm directory, we need to modify the
header file in advance.
Signed-off-by: Yangtao Li
---
arch/arm/boot/dts/sunxi-h3-h5-emlid-neutis.dtsi | 2 +-
arch/arm/boot/dts/sunxi-libre
From: Yangtao Li
The sunxi gpio binding defines a few custom cells for its gpio specifier.
Provide bank name for those.
Signed-off-by: Yangtao Li
---
include/dt-bindings/gpio/sunxi-gpio.h | 29 +++
1 file changed, 29 insertions(+)
create mode 100644 include/dt-binding
From: Yangtao Li
A100 perf1 is an Allwinner A100-based SBC, with the following features:
- 1GiB DDR3 DRAM
- AXP803 PMIC
- 2 USB 2.0 ports
- MicroSD slot and on-board eMMC module
- on-board Nand flash
- ···
Adds initial support for it, including UART and PMU.
Signed-off-by: Yangtao Li
---
arc
From: Yangtao Li
Document board compatible names for Allwinner A100 Perf1 Board.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
b
From: Yangtao Li
Allwinner A100 is a new SoC with Cortex-A53 cores, this commit adds
the basical DTSI file of it, including the clock, i2c, pins, sid, ths,
nmi, and UART support.
Signed-off-by: Yangtao Li
---
.../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 364 ++
1 file change
From: Yangtao Li
Allwinner A100 have a mv64xxx i2c interface available to be used.
Signed-off-by: Yangtao Li
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c
From: Yangtao Li
Add a binding for A100's nmi controller.
Signed-off-by: Yangtao Li
Acked-by: Rob Herring
---
.../interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/Documentation/devicetree/bindings/interrupt-controller/allwinner
From: Yangtao Li
There is no one use "allwinner,sun9i-a80-sc-nmi". The A80 uses
"allwinner,sun9i-a80-nmi".
Let's fix it.
Signed-off-by: Yangtao Li
Acked-by: Rob Herring
---
.../interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Yangtao Li
The AXP803 can be used both using the RSB proprietary bus, or a more
traditional I2C bus.
Let's add that possibility.
Signed-off-by: Yangtao Li
---
drivers/mfd/axp20x-i2c.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mfd/axp20x-i2c.c b/drivers/mfd/axp20x-i2c
From: Yangtao Li
This patch add thermal sensor controller support for A100,
which is similar to the previous ones.
Signed-off-by: Yangtao Li
Reviewed-by: Yangtao Li
---
drivers/thermal/sun8i_thermal.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/thermal/sun8i_th
From: Yangtao Li
For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of
calculation. On the other hand, the newer SOC may store other data in
the space other than 12bit sensor data. Add mask operation to read data
to avoid conversion error.
Signed-off-by: Yangtao Li
Reviewed-b
From: Yangtao Li
Add a binding for A100's ths controller.
Signed-off-by: Yangtao Li
Reviewed-by: Yangtao Li
Reviewed-by: Rob Herring
---
.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/Documentation/devicet
From: Yangtao Li
Add a binding for A100's SID controller.
Signed-off-by: Yangtao Li
---
.../nvmem/allwinner,sun4i-a10-sid.yaml| 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git
a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
From: Yangtao Li
This commit introduces support for the pin controller on A100.
Signed-off-by: Yangtao Li
---
drivers/pinctrl/sunxi/Kconfig | 10 +
drivers/pinctrl/sunxi/Makefile| 2 +
drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c | 105 +++
drivers/pinctrl/s
From: Yangtao Li
Add device tree binding Documentation details for A100 pinctrl driver,
which has a r pin controller and a pin controller with more irq lines.
Signed-off-by: Yangtao Li
---
.../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 15 +++
1 file changed, 15 insertions(+)
From: Yangtao Li
Rather than a continual nesting of 'else' clauses, just make
each 'if' a new entry under 'allOf' and get rid of the else.
Signed-off-by: Yangtao Li
---
.../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 124 ++
1 file changed, 68 insertions(+), 56 deletions(-)
di
1 - 100 of 280 matches
Mail list logo