Re: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding

2021-04-02 Thread Cristian Ciocaltea
On Fri, Apr 02, 2021 at 11:36:07PM +0530, Manivannan Sadhasivam wrote: > On Thu, Apr 01, 2021 at 08:40:01PM +0300, Cristian Ciocaltea wrote: > > On Thu, Apr 01, 2021 at 12:07:04PM -0500, Rob Herring wrote: > > > On Tue, Mar 30, 2021 at 04:48:16PM +0300, Cristian Ciocaltea

Re: [PATCH v2 3/6] soc: actions: Add Actions Semi Owl socinfo driver

2021-04-02 Thread Cristian Ciocaltea
On Fri, Apr 02, 2021 at 11:46:24PM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 30, 2021 at 04:48:18PM +0300, Cristian Ciocaltea wrote: > > The driver provides information about the Action Semi Owl family of > > SoCs (S500, S700 and S900) to user space via sysfs: machine, fam

Re: [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-04-02 Thread Cristian Ciocaltea
On Fri, Apr 02, 2021 at 11:34:07PM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 30, 2021 at 04:48:17PM +0300, Cristian Ciocaltea wrote: > > Add devicetree binding for the Actions Semi Owl socinfo driver. > > > > Devicetree binding shouldn't be added for a driv

Re: [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 12:08:18PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 04:48:17PM +0300, Cristian Ciocaltea wrote: > > Add devicetree binding for the Actions Semi Owl socinfo driver. > > > > Signed-off-by: Cristian Ciocaltea > > --- > > .../bind

Re: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 12:07:04PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 04:48:16PM +0300, Cristian Ciocaltea wrote: > > Add devicetree binding for the Actions Semi Owl SoC serial number > > reserved-memory range. > > > > Signed-off-by: Cristian Ciocalte

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 04:37:52PM +0530, Manivannan Sadhasivam wrote: > + Matheus > > On Thu, Apr 01, 2021 at 01:58:05PM +0300, Cristian Ciocaltea wrote: > > Hi Mani, Andreas, > > > > On Thu, Apr 01, 2021 at 12:49:37PM +0200, Andreas Färber wrote: > > >

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Cristian Ciocaltea
Hi Mani, Andreas, On Thu, Apr 01, 2021 at 12:49:37PM +0200, Andreas Färber wrote: > Hi, > > On 01.04.21 12:27, Manivannan Sadhasivam wrote: > > On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea wrote: > >> On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sa

Re: [PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 11:13:00AM +0530, Manivannan Sadhasivam wrote: > On Fri, Mar 12, 2021 at 11:49:27AM +0200, Cristian Ciocaltea wrote: > > Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' > > dummy regulator used for the uSD supply. > > >

Re: [PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 10:59:29AM +0530, Manivannan Sadhasivam wrote: > On Fri, Mar 12, 2021 at 11:49:27AM +0200, Cristian Ciocaltea wrote: > > Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' > > dummy regulator used for the uSD supply. > > >

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Cristian Ciocaltea
Hi Mani, On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote: > > This patchset adds a socinfo driver which provides information about > > Actions Semi Owl SoCs to user space via sysfs: machine,

[PATCH v2 5/6] arm: dts: owl-s500: Add socinfo support

2021-03-30 Thread Cristian Ciocaltea
Update soc node compatible property to enable support for the Actions Semi Owl soc info driver. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500

[PATCH v2 6/6] MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindings

2021-03-30 Thread Cristian Ciocaltea
Add entries for the Actions Semi Owl reserved-memory and socinfo bindings. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bea5ac8a5e47..48b7f7d097ae 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1533,6

[PATCH v2 4/6] arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial number

2021-03-30 Thread Cristian Ciocaltea
Provide access to the reserved memory region where the Actions Semi Owl S500 SoC serial number can be read from. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot

[PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding

2021-03-30 Thread Cristian Ciocaltea
Add devicetree binding for the Actions Semi Owl SoC serial number reserved-memory range. Signed-off-by: Cristian Ciocaltea --- .../actions,owl-soc-serial.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved

[PATCH v2 3/6] soc: actions: Add Actions Semi Owl socinfo driver

2021-03-30 Thread Cristian Ciocaltea
The driver provides information about the Action Semi Owl family of SoCs (S500, S700 and S900) to user space via sysfs: machine, family, soc_id, serial_number. Note the serial number is currently provided only for the S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/soc/actions

[PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-03-30 Thread Cristian Ciocaltea
Add devicetree binding for the Actions Semi Owl socinfo driver. Signed-off-by: Cristian Ciocaltea --- .../bindings/soc/actions/owl-socinfo.yaml | 57 +++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml

[PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-03-30 Thread Cristian Ciocaltea
table usage of system_serial_{low,high} globals with a public API to provide external access to SoC serial number parts (e.g. Owl Ethernet MAC driver will use this to generate a stable MAC address) - Rebased patch series on v5.12-rc5 Cristian Ciocaltea (6): dt-bindings: reserved-memory

Re: [PATCH 1/4] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-03-29 Thread Cristian Ciocaltea
On Sat, Mar 27, 2021 at 10:30:06AM -0600, Rob Herring wrote: > On Fri, Mar 19, 2021 at 08:27:59PM +0200, Cristian Ciocaltea wrote: > > Add devicetree binding for the Actions Semi Owl SoCs info module. > > > > Signed-off-by: Cristian Ciocaltea > > --- > &

Re: [PATCH v3 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-23 Thread Cristian Ciocaltea
On Tue, Mar 23, 2021 at 12:38:10AM +0100, Andrew Lunn wrote: > > +static void owl_emac_set_multicast(struct net_device *netdev, int count) > > +{ > > + struct owl_emac_priv *priv = netdev_priv(netdev); > > + struct netdev_hw_addr *ha; > > + int index = 0; > > + > > + if (count <= 0) { > > +

Re: [PATCH v3 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-22 Thread Cristian Ciocaltea
Hi Florian, On Sun, Mar 21, 2021 at 08:30:07PM -0700, Florian Fainelli wrote: > Hi Christian, > > On 3/21/2021 4:29 PM, Cristian Ciocaltea wrote: > > Add new driver for the Ethernet MAC used on the Actions Semi Owl > > family of SoCs. > > > > Currently this ha

[PATCH v3 3/3] MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC

2021-03-21 Thread Cristian Ciocaltea
Add entries for Actions Semi Owl Ethernet MAC binding and driver. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 14d1ef97c339..f9d147e27fb0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1530,6 +1530,7 @@ F

[PATCH v3 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-21 Thread Cristian Ciocaltea
Add new driver for the Ethernet MAC used on the Actions Semi Owl family of SoCs. Currently this has been tested only on the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1

[PATCH v3 1/3] dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding

2021-03-21 Thread Cristian Ciocaltea
Add devicetree binding for the Ethernet MAC present on the Actions Semi Owl family of SoCs. For the moment advertise only the support for the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- .../bindings/net/actions,owl-emac.yaml| 92 +++ 1 file

[PATCH v3 0/3] Add support for Actions Semi Owl Ethernet MAC

2021-03-21 Thread Cristian Ciocaltea
ed devm_add_action_or_reset() before clk_set_rate() in owl_emac_probe() * Other - Added SMII interface support: updated owl_emac_core_sw_reset(), added owl_emac_clk_set_rate(), updated description in the YAML binding - Changed OWL_EMAC_TX_TIMEOUT from 0.05*HZ to 2*HZ - Rebased patchset on v5.12-rc3 C

Re: [PATCH 1/1] ARM: owl: Add Actions Semi Owl S500 SoC machine

2021-03-19 Thread Cristian Ciocaltea
On Fri, Mar 12, 2021 at 11:28:53AM +0200, Cristian Ciocaltea wrote: > Hi Andreas, > > On Fri, Mar 12, 2021 at 09:39:31AM +0100, Andreas Färber wrote: > > Hi Cristian, > > > > On 11.03.21 20:19, Cristian Ciocaltea wrote: > > > Add machine entry for the S500

[PATCH 3/4] arm: dts: owl-s500: Add socinfo support

2021-03-19 Thread Cristian Ciocaltea
Update soc node compatible property to enable support for the Actions Semi Owl soc info driver. Additionally provide memory addresses where the serial number parts are accessible. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 1/4] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-03-19 Thread Cristian Ciocaltea
Add devicetree binding for the Actions Semi Owl SoCs info module. Signed-off-by: Cristian Ciocaltea --- .../bindings/soc/actions/owl-socinfo.yaml | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml

[PATCH 4/4] MAINTAINERS: Add entry for Actions Semi Owl socinfo binding

2021-03-19 Thread Cristian Ciocaltea
Add an entry for the Actions Semi Owl socinfo binding. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 20b8e37ea34c..21d54ddcceb4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1533,6 +1533,7 @@ F

[PATCH 0/4] Add support for Actions Semi Owl soc info

2021-03-19 Thread Cristian Ciocaltea
SBC. Thanks, Cristi Cristian Ciocaltea (4): dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding soc: actions: Add Actions Semi Owl socinfo driver arm: dts: owl-s500: Add socinfo support MAINTAINERS: Add entry for Actions Semi Owl socinfo binding .../bindings/soc/actions/owl

[PATCH 2/4] soc: actions: Add Actions Semi Owl socinfo driver

2021-03-19 Thread Cristian Ciocaltea
The driver provides information about the Action Semi Owl family of SoCs (S500, S700 and S900) to user space via sysfs: machine, family, soc_id, serial_number. Note the serial number is currently provided only for the S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/soc/actions

Re: [PATCH 6/6] clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoC

2021-03-16 Thread Cristian Ciocaltea
On Tue, Mar 16, 2021 at 11:22:40AM +0530, Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 07:18:31PM +0200, Cristian Ciocaltea wrote: > > Add support for the missing NIC and ETHERNET clocks in the Actions Semi > > Owl S500 SoC clock driver. > > > > Additional

Re: [PATCH 4/6] clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC

2021-03-16 Thread Cristian Ciocaltea
On Tue, Mar 16, 2021 at 11:15:47AM +0530, Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 07:18:29PM +0200, Cristian Ciocaltea wrote: > > There are a few issues with the setup of the Actions Semi Owl S500 SoC's > > clock chain involving AHPPREDIV, H and AHB clocks:

Re: [PATCH 3/6] clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC

2021-03-16 Thread Cristian Ciocaltea
On Tue, Mar 16, 2021 at 09:47:39AM +0530, Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 07:18:28PM +0200, Cristian Ciocaltea wrote: > > The following clocks of the Actions Semi Owl S500 SoC have been defined > > to use a shared clock factor table 'bisp_factor_ta

Re: [PATCH 2/6] clk: actions: Fix SD clocks factor table on Owl S500 SoC

2021-03-16 Thread Cristian Ciocaltea
Hi Mani, Thanks for reviewing this patch series! On Tue, Mar 16, 2021 at 09:28:45AM +0530, Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 07:18:27PM +0200, Cristian Ciocaltea wrote: > > Drop the unsupported entries in the factor table used for the SD[0-2] > > clocks def

Re: [PATCH v2 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-16 Thread Cristian Ciocaltea
On Mon, Mar 15, 2021 at 02:39:33PM -0700, David Miller wrote: > From: Cristian Ciocaltea > Date: Mon, 15 Mar 2021 13:29:17 +0200 > > > + > > +#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | > > NETIF_MSG_LINK) > > +static int debug = -1

[PATCH v2 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-15 Thread Cristian Ciocaltea
Add new driver for the Ethernet MAC used on the Actions Semi Owl family of SoCs. Currently this has been tested only on the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1

[PATCH v2 3/3] MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC

2021-03-15 Thread Cristian Ciocaltea
Add entries for Actions Semi Owl Ethernet MAC binding and driver. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 411df197e4a1..20b8e37ea34c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1530,6 +1530,7 @@ F

[PATCH v2 0/3] Add support for Actions Semi Owl Ethernet MAC

2021-03-15 Thread Cristian Ciocaltea
05*HZ to 2*HZ - Rebased patchset on v5.12-rc3 Cristian Ciocaltea (3): dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC .../bindings/net/actions,owl-emac.yaml

[PATCH v2 1/3] dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding

2021-03-15 Thread Cristian Ciocaltea
Add devicetree binding for the Ethernet MAC present on the Actions Semi Owl family of SoCs. For the moment advertise only the support for the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- .../bindings/net/actions,owl-emac.yaml| 92 +++ 1 file

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-14 Thread Cristian Ciocaltea
On Sun, Mar 14, 2021 at 05:36:32AM +0100, Andrew Lunn wrote: > > > > + if (phy->interface != PHY_INTERFACE_MODE_RMII) { > > > > + netdev_err(netdev, "unsupported phy mode: %s\n", > > > > + phy_modes(phy->interface)); > > > > + phy_disconnec

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-13 Thread Cristian Ciocaltea
Hi Andrew, Thank you for the detailed review! On Sat, Mar 13, 2021 at 02:01:19AM +0100, Andrew Lunn wrote: > On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: > > +static inline void owl_emac_reg_set(struct owl_emac_priv *priv, > > +

[PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-03-12 Thread Cristian Ciocaltea
Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' dummy regulator used for the uSD supply. Additionally, add 'SYSPWR' fixed regulator and provide cpu0 supply. Signed-off-by: Cristian Ciocaltea --- Please note the patch depends on the ATC260x PMIC support

Re: [PATCH 1/1] ARM: owl: Add Actions Semi Owl S500 SoC machine

2021-03-12 Thread Cristian Ciocaltea
Hi Andreas, On Fri, Mar 12, 2021 at 09:39:31AM +0100, Andreas Färber wrote: > Hi Cristian, > > On 11.03.21 20:19, Cristian Ciocaltea wrote: > > Add machine entry for the S500 variant of the Actions Semi Owl SoCs > > family. > > > > For the moment the only purpos

[PATCH 1/1] ARM: owl: Add Actions Semi Owl S500 SoC machine

2021-03-11 Thread Cristian Ciocaltea
Add machine entry for the S500 variant of the Actions Semi Owl SoCs family. For the moment the only purpose is to provide the system serial information which will be used by the Owl Ethernet MAC driver to generate a stable MAC address. Signed-off-by: Cristian Ciocaltea --- arch/arm/mach

Re: [PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-11 Thread Cristian Ciocaltea
ol is not used outside of atc260x-i2c.c, so this > commit marks it static. > > Fixes: f7cb7fe34db9 ("mfd: Add MFD driver for ATC260x PMICs") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Reviewed-by: Cristian Ciocaltea Thanks, Cristi > --- > drivers/

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-11 Thread Cristian Ciocaltea
Hi Philipp, Thanks for your quick review! I will incorporate the indicated changes in the next patch revision. Kind regards, Cristi On Thu, Mar 11, 2021 at 07:43:36AM +0100, Philipp Zabel wrote: > Hi Cristian, > > On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: &g

[PATCH 1/3] dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding

2021-03-10 Thread Cristian Ciocaltea
Add devicetree binding for the Ethernet MAC present on the Actions Semi Owl family of SoCs. For the moment enable only the support for the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- .../bindings/net/actions,owl-emac.yaml| 91 +++ 1 file changed

[PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-10 Thread Cristian Ciocaltea
Add new driver for the Ethernet MAC used on the Actions Semi Owl family of SoCs. Currently this has been tested only on the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1

[PATCH 0/3] Add support for Actions Semi Owl Ethernet MAC

2021-03-10 Thread Cristian Ciocaltea
e provided separately. Thanks, Cristi Cristian Ciocaltea (3): dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC .../bindings/net/actions,owl-emac.yaml

[PATCH 3/3] MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC

2021-03-10 Thread Cristian Ciocaltea
Add entries for Actions Semi Owl Ethernet MAC binding and driver. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e372d606c5c..b6cd438083e4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1530,6 +1530,7 @@ F

[PATCH 5/6] dt-bindings: clock: Add NIC and ETHERNET bindings for Actions S500 SoC

2021-03-08 Thread Cristian Ciocaltea
Add the missing NIC and ETHERNET clock bindings constants for Actions Semi Owl S500 SoC. Signed-off-by: Cristian Ciocaltea --- include/dt-bindings/clock/actions,s500-cmu.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/dt-bindings/clock/actions,s500-cmu.h b

[PATCH 4/6] clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC

2021-03-08 Thread Cristian Ciocaltea
d 0 rate and use the correct register shift value in the OWL_DIVIDER definition. * Drop the unneeded 'ahb_factor_table[]' and change AHB clock to an ungated OWL_COMP_FIXED_FACTOR definition. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cris

[PATCH 3/6] clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC

2021-03-08 Thread Cristian Ciocaltea
'. Additionally, since SENSOR[0-1] are not gated, unset the OWL_GATE_HW configuration and drop the CLK_IGNORE_UNUSED flag in their definitions. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s5

[PATCH 6/6] clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoC

2021-03-08 Thread Cristian Ciocaltea
Add support for the missing NIC and ETHERNET clocks in the Actions Semi Owl S500 SoC clock driver. Additionally, change APB clock parent from AHB to the newly added NIC. Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 17 - 1 file changed, 16 insertions

[PATCH 2/6] clk: actions: Fix SD clocks factor table on Owl S500 SoC

2021-03-08 Thread Cristian Ciocaltea
Drop the unsupported entries in the factor table used for the SD[0-2] clocks definitions on the Actions Semi Owl S500 SoC. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 4 1 file

[PATCH 1/6] clk: actions: Fix UART clock dividers on Owl S500 SoC

2021-03-08 Thread Cristian Ciocaltea
Use correct divider registers for the Actions Semi Owl S500 SoC's UART clocks. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[PATCH 0/6] Improve clock support for Actions S500 SoC

2021-03-08 Thread Cristian Ciocaltea
While working on a driver to support the Actions Semi Owl Ethernet MAC, I found and fixed some issues on the existing implementation of the S500 SoC clock subsystem and, additionally, I added two missing clocks. Thanks, Cristi Cristian Ciocaltea (6): clk: actions: Fix UART clock dividers on

Re: [PATCH v7 0/5] Add initial support for ATC260x PMICs

2021-02-22 Thread Cristian Ciocaltea
On Mon, Feb 22, 2021 at 03:30:16PM +, Lee Jones wrote: > On Mon, 22 Feb 2021, Cristian Ciocaltea wrote: > > > On Mon, Feb 22, 2021 at 09:02:47AM +, Lee Jones wrote: > > > On Sun, 21 Feb 2021, Cristian Ciocaltea wrote: > > > > > > > Hi Lee, >

Re: [PATCH v7 0/5] Add initial support for ATC260x PMICs

2021-02-22 Thread Cristian Ciocaltea
On Mon, Feb 22, 2021 at 09:02:47AM +, Lee Jones wrote: > On Sun, 21 Feb 2021, Cristian Ciocaltea wrote: > > > Hi Lee, > > > > I have just noticed your mfd-next tag for 5.12 doesn't include the > > support for the ATC260x PMICs. > > > > I as

Re: [PATCH v7 0/5] Add initial support for ATC260x PMICs

2021-02-21 Thread Cristian Ciocaltea
Hi Lee, I have just noticed your mfd-next tag for 5.12 doesn't include the support for the ATC260x PMICs. I assumed the patchset is ready for merging.. Did I miss something? Thanks, Cristi On Tue, Jan 26, 2021 at 11:55:56AM +0200, Cristian Ciocaltea wrote: > The ATC260x family

[PATCH v7 5/5] MAINTAINERS: Add entry for ATC260x PMIC

2021-01-26 Thread Cristian Ciocaltea
From: Manivannan Sadhasivam Add MAINTAINERS entry for ATC260x PMIC. Signed-off-by: Manivannan Sadhasivam [cristian: change binding doc file path, add file patterns for onkey and poweroff drivers, fix ordering, add myself as co-maintainer] Signed-off-by: Cristian Ciocaltea

[PATCH v7 2/5] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding

2021-01-26 Thread Cristian Ciocaltea
Add devicetree binding for Actions Semi ATC260x PMICs. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v7: - None Changes in v6: - None Changes in v5: - None Changes in v4 - Added Reviewed-by from Rob - Added support for ATC2603C LDO12 fixed regulator per

[PATCH v7 3/5] mfd: Add MFD driver for ATC260x PMICs

2021-01-26 Thread Cristian Ciocaltea
ments SPI interface - TODO) Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v7: - None Changes in v6 - per Lee's feedback: - Added ATC260X_CHIP_REV_MAX magic number - Fixed code formattting arround atc260x_i2c_driver

[PATCH v7 0/5] Add initial support for ATC260x PMICs

2021-01-26 Thread Cristian Ciocaltea
2C driver - Added onkey driver: exposes the power button as an input device - Added yaml binding doc - Rebased patchset on kernel v5.9-rc1 Cristian Ciocaltea (4): dt-bindings: input: Add reset-time-sec common property dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding mfd: Add MFD driver for

Re: [PATCH v6 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-26 Thread Cristian Ciocaltea
On Tue, Jan 26, 2021 at 08:15:35AM +, Lee Jones wrote: > On Mon, 25 Jan 2021, Cristian Ciocaltea wrote: > > > Hi Lee, > > > > On Mon, Jan 25, 2021 at 02:25:58PM +, Lee Jones wrote: > > > On Wed, 20 Jan 2021, Cristian Ciocaltea wrote: > > > &

[PATCH v7 4/5] input: atc260x: Add onkey driver for ATC260x PMICs

2021-01-26 Thread Cristian Ciocaltea
-off-by: Cristian Ciocaltea Acked-by: Dmitry Torokhov --- Changes in v7: - None Changes in v6: - None Changes in v5: - None Changes in v4: - Added Acked-by from Dmitry Changes in v3: - Integrated Dmitry's review: * Dropped the logic around the check for 'pdev->dev.of_node&

[PATCH v7 1/5] dt-bindings: input: Add reset-time-sec common property

2021-01-26 Thread Cristian Ciocaltea
Add a new common property 'reset-time-sec' to be used in conjunction with the devices supporting the key pressed reset feature. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v7: - None Changes in v6: - None Changes in v5: - None Changes in v4: - Adde

Re: [PATCH v6 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-26 Thread Cristian Ciocaltea
Hi Lee, On Mon, Jan 25, 2021 at 02:25:58PM +, Lee Jones wrote: > On Wed, 20 Jan 2021, Cristian Ciocaltea wrote: > > > Add initial support for the Actions Semi ATC260x PMICs which integrates > > Audio Codec, Power management, Clock generation and GPIO controller > >

Re: [PATCH v6 4/7] regulator: Add regulator driver for ATC260x PMICs

2021-01-25 Thread Cristian Ciocaltea
Hi Mark, On Mon, Jan 25, 2021 at 07:23:11PM +, Mark Brown wrote: > On Wed, Jan 20, 2021 at 08:23:29PM +0200, Cristian Ciocaltea wrote: > > Add support for the DC-DC converters and LDO regulators found in > > the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260

[PATCH v6 0/7] Add initial support for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
* Provides system poweroff/reboot functionalities * Depends on atomic transfers in the Owl I2C driver - Added onkey driver: exposes the power button as an input device - Added yaml binding doc - Rebased patchset on kernel v5.9-rc1 Cristian Ciocaltea (6): dt-bindings: input: Add reset-time-sec com

[PATCH v6 1/7] dt-bindings: input: Add reset-time-sec common property

2021-01-20 Thread Cristian Ciocaltea
Add a new common property 'reset-time-sec' to be used in conjunction with the devices supporting the key pressed reset feature. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v6: - None Changes in v5: - None Changes in v4: - Added Reviewed-by from Rob

[PATCH v6 2/7] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding

2021-01-20 Thread Cristian Ciocaltea
Add devicetree binding for Actions Semi ATC260x PMICs. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v6: - None Changes in v5: - None Changes in v4 - Added Reviewed-by from Rob - Added support for ATC2603C LDO12 fixed regulator per Mark's suggestion Chang

[PATCH v6 4/7] regulator: Add regulator driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
Add support for the DC-DC converters and LDO regulators found in the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v6: - None

[PATCH v6 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
ments SPI interface - TODO) Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v6 - per Lee's feedback: - Added ATC260X_CHIP_REV_MAX magic number - Fixed code formattting arround atc260x_i2c_driver initialization - Rep

[PATCH v6 6/7] input: atc260x: Add onkey driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
-off-by: Cristian Ciocaltea Acked-by: Dmitry Torokhov --- Changes in v6: - None Changes in v5: - None Changes in v4: - Added Acked-by from Dmitry Changes in v3: - Integrated Dmitry's review: * Dropped the logic around the check for 'pdev->dev.of_node' * Renamed

Re: [PATCH v5 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
On Wed, Jan 20, 2021 at 08:33:48AM +, Lee Jones wrote: > On Wed, 13 Jan 2021, Cristian Ciocaltea wrote: > > > Add initial support for the Actions Semi ATC260x PMICs which integrates > > Audio Codec, Power management, Clock generation and GPIO con

[PATCH v6 7/7] MAINTAINERS: Add entry for ATC260x PMIC

2021-01-20 Thread Cristian Ciocaltea
From: Manivannan Sadhasivam Add MAINTAINERS entry for ATC260x PMIC. Signed-off-by: Manivannan Sadhasivam [cristian: change binding doc file path, add file patterns for onkey and poweroff drivers, fix ordering, add myself as co-maintainer] Signed-off-by: Cristian Ciocaltea

[PATCH v6 5/7] power: reset: Add poweroff driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
This driver provides poweroff and reboot support for a system through the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Signed-off-by: Cristian Ciocaltea --- Changes in v6: - None Changes in v5: - Drop unneeded '#include ' Changes in v4: - None

[PATCH v5 5/7] power: reset: Add poweroff driver for ATC260x PMICs

2021-01-13 Thread Cristian Ciocaltea
This driver provides poweroff and reboot support for a system through the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Signed-off-by: Cristian Ciocaltea --- Changes in v5: - Drop unneeded '#include ' Changes in v4: - None Changes in v3: - R

[PATCH v5 6/7] input: atc260x: Add onkey driver for ATC260x PMICs

2021-01-13 Thread Cristian Ciocaltea
-off-by: Cristian Ciocaltea Acked-by: Dmitry Torokhov --- Changes in v5: - None Changes in v4: - Added Acked-by from Dmitry Changes in v3: - Integrated Dmitry's review: * Dropped the logic around the check for 'pdev->dev.of_node' * Renamed 'ret' variable i

[PATCH v5 4/7] regulator: Add regulator driver for ATC260x PMICs

2021-01-13 Thread Cristian Ciocaltea
Add support for the DC-DC converters and LDO regulators found in the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v5: - None

[PATCH v5 7/7] MAINTAINERS: Add entry for ATC260x PMIC

2021-01-13 Thread Cristian Ciocaltea
From: Manivannan Sadhasivam Add MAINTAINERS entry for ATC260x PMIC. Signed-off-by: Manivannan Sadhasivam [cristian: change binding doc file path, add file patterns for onkey and poweroff drivers, fix ordering, add myself as co-maintainer] Signed-off-by: Cristian Ciocaltea

[PATCH v5 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-13 Thread Cristian Ciocaltea
ments SPI interface - TODO) Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v5: - None Changes in v4 - according to Lee's review: - Replaced 'regmap_add_irq_chip()' with 'devm' counterpart and

[PATCH v5 2/7] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding

2021-01-13 Thread Cristian Ciocaltea
Add devicetree binding for Actions Semi ATC260x PMICs. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v5: - None Changes in v4 - Added Reviewed-by from Rob - Added support for ATC2603C LDO12 fixed regulator per Mark's suggestion Changes in v3 (according to

[PATCH v5 0/7] Add initial support for ATC260x PMICs

2021-01-13 Thread Cristian Ciocaltea
mic transfers in the Owl I2C driver - Added onkey driver: exposes the power button as an input device - Added yaml binding doc - Rebased patchset on kernel v5.9-rc1 Cristian Ciocaltea (6): dt-bindings: input: Add reset-time-sec common property dt-bindings: mfd: Add Actions Semi ATC260x PMI

[PATCH v5 1/7] dt-bindings: input: Add reset-time-sec common property

2021-01-13 Thread Cristian Ciocaltea
Add a new common property 'reset-time-sec' to be used in conjunction with the devices supporting the key pressed reset feature. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v5: - None Changes in v4: - Added Reviewed-by from Rob Changes in v3: - This

[PATCH v3 1/1] tty: serial: owl: Add support for kernel debugger

2021-01-12 Thread Cristian Ciocaltea
Implement 'poll_put_char' and 'poll_get_char' callbacks in struct 'owl_uart_ops' that enables OWL UART to be used for kernel debugging over serial line. Signed-off-by: Cristian Ciocaltea --- Changes in v3: - Used 'readl_poll_timeout_atomic()' in &#x

Re: [PATCH v3 01/13] arm: dts: owl-s500: Add Clock Management Unit

2021-01-09 Thread Cristian Ciocaltea
On Sat, Jan 09, 2021 at 12:38:13AM -0300, Matheus Castello wrote: > > > Em 12/29/2020 6:17 PM, Cristian Ciocaltea escreveu: > > Add Clock Management Unit for Actions Semi S500 SoC. > > > > Signed-off-by: Cristian Ciocaltea > > Reviewed-by: Manivannan Sadhasi

Re: [PATCH v2 1/1] tty: serial: owl: Add support for kernel debugger

2021-01-08 Thread Cristian Ciocaltea
On Fri, Jan 08, 2021 at 08:58:38AM +0100, Jiri Slaby wrote: > On 07. 01. 21, 19:16, Cristian Ciocaltea wrote: > > Hi Greg, > > > > Thank you for the review! > > > > On Thu, Jan 07, 2021 at 04:20:55PM +0100, Greg Kroah-Hartman wrote: > > > On Tue,

Re: [PATCH v2 1/1] tty: serial: owl: Add support for kernel debugger

2021-01-07 Thread Cristian Ciocaltea
Hi Greg, Thank you for the review! On Thu, Jan 07, 2021 at 04:20:55PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 05, 2021 at 07:02:02PM +0200, Cristian Ciocaltea wrote: > > Implement 'poll_put_char' and 'poll_get_char' callbacks in struct > > 'owl_ua

[PATCH v2 1/1] tty: serial: owl: Add support for kernel debugger

2021-01-05 Thread Cristian Ciocaltea
Implement 'poll_put_char' and 'poll_get_char' callbacks in struct 'owl_uart_ops' that enables OWL UART to be used for kernel debugging over serial line. Signed-off-by: Cristian Ciocaltea --- Changes in v2: - Reverted unnecessary changes per Andreas feedback

Re: [PATCH v4 5/7] power: reset: Add poweroff driver for ATC260x PMICs

2021-01-03 Thread Cristian Ciocaltea
Hi Sebastian, On Sun, Jan 03, 2021 at 04:26:31AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Dec 29, 2020 at 07:31:20PM +0200, Cristian Ciocaltea wrote: > > This driver provides poweroff and reboot support for a system through > > the ATC2603C and ATC2609A chip variant

Re: [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi

2020-12-31 Thread Cristian Ciocaltea
On Thu, Dec 31, 2020 at 01:24:35PM +0530, Manivannan Sadhasivam wrote: > On Tue, Dec 29, 2020 at 11:17:15PM +0200, Cristian Ciocaltea wrote: > > Hi, > > > > This patchset brings a series of improvements for the Actions Semi S500 > > SoCs family, by adding support f

Re: [PATCH v3 11/13] arm: dts: owl-s500-roseapplepi: Add uSD support

2020-12-31 Thread Cristian Ciocaltea
On Thu, Dec 31, 2020 at 12:57:10PM +0530, Manivannan Sadhasivam wrote: > On Tue, Dec 29, 2020 at 11:17:26PM +0200, Cristian Ciocaltea wrote: > > Add uSD support for RoseapplePi SBC using a fixed regulator as a > > temporary solution until PMIC support becomes available. > &g

[PATCH v3 05/13] dmaengine: owl: Add compatible for the Actions Semi S500 DMA controller

2020-12-29 Thread Cristian Ciocaltea
The DMA controller present on the Actions Semi S500 SoC is compatible with the S900 variant, so add it to the list of devices supported by the Actions Semi Owl DMA driver. Additionally, order the entries alphabetically. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam

[PATCH v3 12/13] arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration

2020-12-29 Thread Cristian Ciocaltea
Add pinctrl definitions for the I2C controllers used in RoseapplePi SBC. For the moment enable only I2C0, which is used by the ATC2603C PMIC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Added Reviewed-by from Mani arch/arm/boot/dts/owl-s500

[PATCH v3 11/13] arm: dts: owl-s500-roseapplepi: Add uSD support

2020-12-29 Thread Cristian Ciocaltea
Add uSD support for RoseapplePi SBC using a fixed regulator as a temporary solution until PMIC support becomes available. Signed-off-by: Cristian Ciocaltea --- Changes in v3: - None arch/arm/boot/dts/owl-s500-roseapplepi.dts | 50 ++ 1 file changed, 50 insertions(+) diff

[PATCH v3 13/13] MAINTAINERS: Add linux-actions ML for Actions Semi Arch

2020-12-29 Thread Cristian Ciocaltea
Add the linux-actions mailing list for the Actions Semi architecture. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Added Reviewed-by from Mani MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v3 07/13] arm: dts: owl-s500: Add pinctrl & GPIO support

2020-12-29 Thread Cristian Ciocaltea
Add pinctrl node for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Added Reviewed-by from Mani arch/arm/boot/dts/owl-s500.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/owl

[PATCH v3 08/13] arm: dts: owl-s500: Add MMC support

2020-12-29 Thread Cristian Ciocaltea
Add MMC controller nodes for Actions Semi S500 SoC, in order to facilitate access to SD/EMMC/SDIO cards. Signed-off-by: Cristian Ciocaltea Reviewed-by: Ulf Hansson Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Added Reviewed-by tags from Ulf and Mani arch/arm/boot/dts/owl-s500

  1   2   3   4   >