to
call the dm_scan_fdt_dev routine to work properly, but some tests on the
board have shown otherwise.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Remove UCLASS_SYSC id.
- Change ti-sysc in a normal driver instead of an uclass driver.
Previous tests, where I had removed the uclass driver
> Il 15/03/2021 19:23 Simon Glass ha scritto:
>
>
> +Tom Rini too
>
>
> On Tue, 16 Mar 2021 at 03:48, Bin Meng wrote:
> >
> > +Dario Binacchi
> >
> > On Mon, Mar 15, 2021 at 3:11 PM Simon Glass wrote:
> > >
> > > Hi B
The module defines a duplicate uclass driver for UCLASS_SIMPLE_BUS, but
it is not allowed. This breaks of-platdata and makes the result
non-deterministic.
Since it must be an uclass driver to work properly, a new class id has
been added.
Signed-off-by: Dario Binacchi
---
drivers/bus/ti-sysc.c
Hi Simon,
> Il 15/03/2021 04:01 Simon Glass ha scritto:
>
>
> Hi Dario,
>
> On Wed, 30 Dec 2020 at 12:08, Dario Binacchi wrote:
> >
> > We can handle the sysc interconnect target module in a generic way for
> > many TI SoCs. Initially let's just enable d
is used on sandbox.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Added Simon Glass review tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.
arch/sandbox/dts/test.dts| 72
a generic type driver, and it can be useful for debug
purposes.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v3:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 222 +--
1 file changed, 213 insertions(+), 9 deletions
The configuration of pinmux registers was implemented with duplicate
code which can be removed by adding two functions for read/write access.
Access to 8-bit registers has also been added.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v3:
- Added Simon Glass review tag
It returns the number of selectable pins.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 37
1 file changed, 37 insertions(+)
diff --git
The patch is inspired by more recent versions of the Linux driver.
Replacing the default value 0x of the function mask with 0 is
certainly more conservative in case the "pinctrl-single,function-mask"
DT property is missing.
Signed-off-by: Dario Binacchi
Reviewed-by: S
It returns the name of the requested pin.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/pinctrl
Use dev_read_addr_size to get size of the controller's register area.
Signed-off-by: Dario Binacchi
Reviewed-by: Pratyush Yadav
---
Changes in v3:
- Added Pratyush Yadav review tag.
Changes in v2:
- Check dev_read_addr_size return value.
drivers/pinctrl/pinctrl-single.c | 14
The dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", , val); prints the 'reg'
address preceded by the prefix 0x0x instead of 0x. This because the
printf '%pa' format specifier already prepends the prefix '0x' to the
address displayed.
Signed-off-by: Dario Binacchi
Reviewed-by: Prat
option than a physical address.
Signed-off-by: Dario Binacchi
Reviewed-by: Pratyush Yadav
---
Changes in v3:
- Added Pratyush Yadav review tag.
drivers/pinctrl/pinctrl-single.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/pinctrl/pinctrl
The 'n' variable is used as a loop counter, not as a physical address,
and is used in a comparison with an int. So it makes sense to change
its type from phys_addr_t to int.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
Reviewed-by: Pratyush Yadav
---
(no changes since v2)
Changes
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Updated commit message.
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-
U-Boot adopted the kernel-doc annotation style.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 45 +---
1 file changed, 36 insertions(+), 9
w tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.
Dario Binacchi (12):
pinctrl: single: fix format of structure documentation
pinctrl: single: fix the loop counter variable type
pinctrl: single: fix offset management
pinctrl: single: fix debug messages forma
Hi Lokesh,
> Il 22/02/2021 07:08 Lokesh Vutla ha scritto:
>
>
> Hi Dario,
>
> On 13/02/21 4:30 pm, Dario Binacchi wrote:
> > Since the board has been converted to driver model and DT is supported,
> > GPIO platform are no more required and can be removed.
Fix the 'devivce' typo in arch/sandbox/include/asm/clk.h.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
arch/sandbox/include/asm/clk.h | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/arch/sandbox/include/asm/clk.h b/arch/sandbox
The linux/err.h header file was included twice.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
include/linux/clk-provider.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c871ea646d..cc9c430512 100644
As suggested by Grygorii Strashko I have removed these patches from the
'Add DM support for omap PWM backlight' series and grouped them into
this one. The patches have already been reviewed by Simon Glass.
Dario Binacchi (2):
clk: remove a redundant header
arch: sandbox: fix typo in clk.h
Signed-off-by: Dario Binacchi
---
arch/arm/dts/am33xx-clocks.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/am33xx-clocks.dtsi b/arch/arm/dts/am33xx-clocks.dtsi
index 87c4410ee2..5947a35a74 100644
--- a/arch/arm/dts/am33xx-clocks.dtsi
+++ b/arch/arm/
The previous version printed the same debug message for both the enable
and disable routines without highlighting whether you were enabling or
disabling the module. It is now clear whether you are enabling or
disabling the module.
Signed-off-by: Dario Binacchi
---
drivers/clk/ti/clk-ctrl.c | 4
Since the board has been converted to driver model and DT is supported,
GPIO platform are no more required and can be removed.
Signed-off-by: Dario Binacchi
---
arch/arm/mach-omap2/am33xx/board.c | 23 ---
1 file changed, 23 deletions(-)
diff --git a/arch/arm/mach-omap2
Enabling the domain clock is performed by the sysc interconnect target
module driver during the GPIO device probing.
Signed-off-by: Dario Binacchi
---
arch/arm/mach-omap2/am33xx/clock_am33xx.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-omap2/am33xx/clock_am33xx.c
b
Move gpio controller nodes from am33xx.dtsi to am33xx-l4.dtsi. Now both
files are more similar to those found in Linux 5.9-rc7. To be fully
operational as before it was also necessary to fix the am33xx-clock.dtsi
file. It too is now almost the same as the Linux kernel.
Signed-off-by: Dario
o the HEAD of the master which
at the time of release points to 7c82e12cc4
("Merge tag 'u-boot-atmel-fixes-2021.04-a' of
https://gitlab.denx.de/u-boot/custodians/u-boot-atmel;) commit.
Dario Binacchi (3):
arm: dts: sync am33xx gpio nodes with Linux 5.9-rc7
am33xx: board: remove GPIO platforma da
Hi Lokesh,
> Il 04/02/2021 19:02 Lokesh Vutla ha scritto:
>
>
> On 29/01/21 3:54 am, Dario Binacchi wrote:
> >
> > The series was born from the need to check the pinmux setting of a
> > peripheral on a beaglebone board. I then ran the 'pinmux status -a'
> >
It returns the number of selectable pins.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 37
1 file changed, 37 insertions(+)
diff --git a/drivers/pinctrl/pinctrl
a generic type driver, and it can be useful for debug
purposes.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/pinctrl/pinctrl-single.c | 222 +--
1 file changed, 213 insertions(+), 9 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b
It returns the name of the requested pin.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-single.c b
is used on sandbox.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v2:
- Added Simon Glass review tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.
arch/sandbox/dts/test.dts| 72 +
configs
The patch is inspired by more recent versions of the Linux driver.
Replacing the default value 0x of the function mask with 0 is
certainly more conservative in case the "pinctrl-single,function-mask"
DT property is missing.
Signed-off-by: Dario Binacchi
---
(no change
The configuration of pinmux registers was implemented with duplicate
code which can be removed by adding two functions for read/write access.
Access to 8-bit registers has also been added.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Updated commit message.
- Remove pointer to access
option than a physical address.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/pinctrl/pinctrl-single.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index
The 'n' variable is used as a loop counter, not as a physical address,
and is used in a comparison with an int. So it makes sense to change
its type from phys_addr_t to int.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
Reviewed-by: Pratyush Yadav
---
Changes in v2:
- Updated commit
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v2:
- Updated commit message.
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinct
The dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", , val); prints the 'reg'
address preceded by the prefix 0x0x instead of 0x. This because the
printf '%pa' format specifier already appends the prefix '0x' to the
address displayed.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Upda
Use dev_read_addr_size to get size of the controller's register area.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Check dev_read_addr_size return value
drivers/pinctrl/pinctrl-single.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/pinctrl
Simon Glass review tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.
Dario Binacchi (12):
pinctrl: single: fix format of structure documentation
pinctrl: single: fix the loop counter variable type
pinctrl: single: fix offset management
pinctrl: single: fix
U-Boot adopted the kernel-doc annotation style.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 45 +---
1 file changed, 36 insertions(+), 9 deletions(-)
diff --git
Hi Simon,
> Il 24/01/2021 03:03 Simon Glass ha scritto:
>
>
> Hi Dario,
>
> On Sat, 23 Jan 2021 at 11:27, Dario Binacchi wrote:
> >
> > It allows to display the muxing of a given pin. Inspired by more recent
> > versions of the Linux driver, in a
Hi Pratyush,
> Il 25/01/2021 18:09 Pratyush Yadav ha scritto:
>
>
> Hi Dario,
>
> On 23/01/21 07:27PM, Dario Binacchi wrote:
> > The printf '%pa' format specifier appends the '0x' prefix to the
> > displayed address. Furthermore, the offset variable is disp
It is useless and misleading to print the ret variable that is not set
by the dev_read_addr routine. Also, move the '\n' character after the
round bracket that contains the error code.
Signed-off-by: Dario Binacchi
---
drivers/ata/ahci_sunxi.c | 8
1 file changed, 4 insertions(+), 4
Hi Simon,
> Il 24/01/2021 03:03 Simon Glass ha scritto:
>
>
> Hi Dario,
>
> On Sat, 23 Jan 2021 at 11:27, Dario Binacchi wrote:
> >
> > The patch allows you to call the read/write functions set during probing
> > without having to check the typ
The auto_alloc_size members of struct driver has been renamed auto.
Signed-off-by: Dario Binacchi
---
include/dm/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/dm/device.h b/include/dm/device.h
index f5b4cd6876..e665558444 100644
--- a/include/dm/device.h
The video_uc_platdata structure no longer exists. It has been renamed
video_uc_plat.
Signed-off-by: Dario Binacchi
---
drivers/video/Kconfig | 4 ++--
drivers/video/nexell_display.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/video/Kconfig b/drivers
is used on sandbox.
Signed-off-by: Dario Binacchi
---
arch/sandbox/dts/test.dts| 65 +
configs/sandbox_defconfig| 1 +
drivers/pinctrl/pinctrl-single.c | 62 +++-
test/dm/pinmux.c | 81
a generic type driver, and it can be useful for debug
purposes.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 220 +--
1 file changed, 211 insertions(+), 9 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl
It returns the number of selectable pins.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index eb69e53096..21a3bbaaa7 100644
It returns the name of the requested pin.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 21a3bbaaa7..04e2b00f7e 100644
The patch allows you to call the read/write functions set during probing
without having to check the type of access at runtime. It also adds
functions for 8-bit registers access.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 98
1 file
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index c80a42a193..8fd3bf66de 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++
The patch is inspired by more recent versions of the Linux driver.
Replacing the default value 0x of the function mask with 0 is
certainly more conservative in case the "pinctrl-single,function-mask"
DT property is missing.
Signed-off-by: Dario Binacchi
---
drivers/pinct
Use dev_read_addr_size to get size of the controller's register area.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index
The printf '%pa' format specifier appends the '0x' prefix to the
displayed address. Furthermore, the offset variable is displayed with
the '%x' format specifier instead of '%pa'.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 28
1 file
The patch changes the variable 'n' type from phys_addr_t to int.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index c9a6c272bf
U-Boot adopted the kernel-doc annotation style.
Signed-off-by: Dario Binacchi
---
drivers/pinctrl/pinctrl-single.c | 45 +---
1 file changed, 36 insertions(+), 9 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index
can be cleanly applied to the HEAD of the master which
at the time of release points to e716c9022970dac9be15856a6651a07132463578
commit (Revert "doc: update Kernel documentation build system").
Dario Binacchi (11):
pinctrl: single: fix format of structure documentation
pinctrl: s
With commit 38d6b7ebdaee ("spl: Drop bd_info in the data section") you
need to enable this option to boot from mmc.
Signed-off-by: Dario Binacchi
---
configs/am335x_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm
to of_to_plat
- plat_data_alloc_size to plat_auto
- priv_auto_alloc_size to priv_auto
- video_uc_platdata to video_uc_plat
Signed-off-by: Dario Binacchi
---
drivers/clk/ti/clk-am3-dpll.c | 2 +-
drivers/clk/ti/clk-ctrl.c | 2 +-
drivers/clk/ti/clk-divider.c| 2 +-
drivers/clk/ti
ELLS_0 into the expression.
- Lower-case the 0xC019 hex number.
- Remove the 'ti_am3_scm_clocks' driver. Handle 'scm_clocks' node in
the 'ti_am3_scm' driver.
- Update the commit message.
Dario Binacchi (28):
clk: export generic routines
dt-bindings: bus: ti-sysc: resync with Linux 5.9-rc7
bus: t
With support for other clock drivers, the potentially supported CDCE913
device can no longer be probed without specifying its DT node name.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
board/ti/am335x/board.c | 2 +-
board/ti/am43xx/board.c | 2 +-
2 files changed, 2 insertions
Add drivers/video/ti/ folder and move all TI's code in this folder for
better maintenance.
Signed-off-by: Dario Binacchi
---
(no changes since v7)
Changes in v7:
- Fix building errors for:
brppt1_mmc_defconfig
brppt1_nand_defconfig
brppt1_spi_defconfig
brxre1_defconfig
the DPLL registers are removed from the LCD driver code
because they are implemented inside the DPLL clock driver.
Signed-off-by: Dario Binacchi
---
(no changes since v3)
Changes in v3:
- Add clk.h header.
- Fix an error code returned by the probe function.
drivers/video/am335x-fb.c | 129
. This is a code replication until the
pre-driver-model version is dropped.
Signed-off-by: Dario Binacchi
---
(no changes since v7)
Changes in v7:
- Add linux/err.h header in am335x-fb.c to fix building errors for
brxre1_defconfig.
Changes in v4:
- Include device_compat.h header for dev_xxx macros
the same driver.
There are now two drivers, each with its own compatible string,
functions and API.
Furthermore, the panel driver, in addition to decoding the display
timings, is now also able to manage the backlight.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
Changes in v8
Adding the 'simple-bus' compatible string to the prcm_clocks node will
allow its automatic binding.
Signed-off-by: Dario Binacchi
---
(no changes since v6)
Changes in v6:
- Remove the 'am3-prcm' driver.
- Add the 'simple-bus' compatible string to the prcm_clocks node.
Changes in v4
Enabling the domain clock is performed by the sysc interconnect target
module driver during the video device probing.
Signed-off-by: Dario Binacchi
---
(no changes since v3)
Changes in v3:
- Remove clock domain enabling/disabling.
- Update the commit message.
arch/arm/mach-omap2/am33xx
erated for the registers of the loaded drivers are those specified
by the AM335x reference manual.
Signed-off-by: Dario Binacchi
Tested-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v7)
Changes in v7:
- Add gd_size_cells_0 macro to fix building errors for boards that do
n
The TI PWMSS driver is a simple bus driver for providing clock and power
management for the PWM peripherals on TI AM33xx SoCs, namely eCAP,
eHRPWM and eQEP.
For DT binding details see Linux doc:
- Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt
Signed-off-by: Dario Binacchi
details see:
- Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
Signed-off-by: Dario Binacchi
---
(no changes since v4)
Changes in v4:
- Include device_compat.h header for dev_xxx macros.
Changes in v3:
- Adds PWM_TI_EHRPWM dependency on ARCH_OMAP2PLUS in Kconfig.
- Add error message
The patch adds a function to get display timings from the device tree
node attached to the device.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v1)
arch/sandbox/dts/test.dts | 46 ++
drivers/core/read.c | 6 +++
include/dm/read.h
Adding the 'simple-bus' compatible string to the scm_clocks node will
allow its automatic binding.
Signed-off-by: Dario Binacchi
---
(no changes since v7)
Changes in v7:
- Add dm8168-evm-u-boot.dtsi to fix building errors for
ti816x_evm_defconfig.
Changes in v6:
- Remove the 'am3-scm
The prescaler (PTV) setting must be taken into account even when the
timer input clock frequency has been set.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/timer/omap-timer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/timer/omap
The patch moves the clk-ti-sci.c file to the 'ti' directory along with
all the other TI's drivers, and renames it clk-sci.c.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/clk/Kconfig| 8
drivers/clk/Makefile | 1
This minimal driver is only used to bind child devices.
For DT binding details see Linux doc:
- Documentation/devicetree/bindings/arm/omap/prcm.txt
Signed-off-by: Dario Binacchi
---
(no changes since v3)
Changes in v3:
- doc/device-tree-bindings/arm/omap,prcm.txt.
- Add to commit message
-off-by: Dario Binacchi
---
(no changes since v5)
Changes in v5:
- Move the clk-ti-ctrl.c file to drivers/clk/ti with the name
clk-ctrl.c.
Changes in v4:
- Include device_compat.h header for dev_xxx macros.
- Fix compilation errors on the dev parameter of the dev_xx macros.
Changes in v3
Up till this commit passing NULL as input parameter was allowed, but not
handled properly. When a NULL parameter was passed to the function a data
abort was raised.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v1)
arch/arm/mach-omap2/am33xx/clock.c | 10
target module node.
Signed-off-by: Dario Binacchi
---
(no changes since v4)
Changes in v4:
- Remove a blank line at end of file arch/arm/dts/am33xx-l4.dtsi.
arch/arm/dts/am335x-draco.dtsi | 11 +-
arch/arm/dts/am335x-evm.dts |2 +-
arch/arm/dts/am335x-evmsk.dts
Include the SoC U-boot DTS in each am335x--u-boot.dtsi.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
arch/arm/dts/am335x-chiliboard-u-boot.dtsi | 2 ++
arch/arm/dts/am335x-evm-u-boot.dtsi| 2 ++
arch/arm/dts/am335x-evmsk-u-boot.dtsi | 2 ++
arch/arm/dts/am335x
/divider.txt
Signed-off-by: Dario Binacchi
---
(no changes since v5)
Changes in v5:
- Move the clk-ti.c file to drivers/clk/ti with the name clk.c.
- Move the clk-ti.h file to drivers/clk/ti with the name clk.h.
- Move the clk-ti-divider.c file to drivers/clk/ti with the name
clk-divider.c.
Changes
The patch adds support for TI gate clock binding. The code is based on
the drivers/clk/ti/gate.c driver of the Linux kernel version 5.9-rc7.
For DT binding details see:
- Documentation/devicetree/bindings/clock/ti/gate.txt
Signed-off-by: Dario Binacchi
---
(no changes since v5)
Changes in v5
on/devicetree/bindings/clock/ti/dpll.txt
Signed-off-by: Dario Binacchi
---
(no changes since v5)
Changes in v5:
- Move the clk-ti-am3-dpll.c file to drivers/clk/ti with the name
clk-am3-dpll.c.
- Move the clk-ti-am3-dpll-x2.c file to drivers/clk/ti with the name
clk-am3-dpll-x2.c.
Changes
Add missing DPLL_EN_FAST_RELOCK_BYPASS macro. Used to put the DPLL in
idle bypass fast relock mode.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
arch/arm/include/asm/arch-am33xx/clock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/arch-am33xx/clock.h
b
binding details see:
- Documentation/devicetree/bindings/clock/ti/mux.txt
Signed-off-by: Dario Binacchi
---
(no changes since v5)
Changes in v5:
- Create drivers/clk/ti directory.
- Move the clk-ti-mux.c file to drivers/clk/ti and rename it clk-mux.c
Changes in v4:
- Include device_compat.h
/devicetree/bindings/bus/ti-sysc.txt
Signed-off-by: Dario Binacchi
---
Changes in v8:
- Imply CONFIG_TI_SYSC only if CONFIG_DM and CONFIG_OF_CONTROL are enabled.
- Revert change on cm_t335_defconfig added on version 7 of the series.
Changes in v7:
- Not all OMAP2 platform need CONFIG_TI_SYSC
the clock hardware in any way.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
Reviewed-by: Sean Anderson
---
(no changes since v4)
Changes in v4:
- Update clk_round_rate description.
- Add Sean Anderson review.
arch/sandbox/include/asm/clk.h | 9 +
drivers/clk/clk-uclass.c
:
The dra76x MCAN generic interconnect module has a its own format for the
bits in the control registers.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/dt-bindings/bus/ti-sysc.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/dt-bindings/bus/ti-sysc.h
b/include/dt
Export routines that can be used by other drivers avoiding duplicating
code.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add the clk_ prefix to the divider functions.
- Add kernel-doc comments to the exported functions.
drivers/clk/clk
Remove the 'ti_am3_scm_clocks' driver. Handle 'scm_clocks' node in
the 'ti_am3_scm' driver.
- Update the commit message.
Dario Binacchi (28):
clk: export generic routines
dt-bindings: bus: ti-sysc: resync with Linux 5.9-rc7
bus: ti: add minimal sysc interconnect target driver
arm: dts: sync
With support for other clock drivers, the potentially supported CDCE913
device can no longer be probed without specifying its DT node name.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
board/ti/am335x/board.c | 2 +-
board/ti/am43xx/board.c | 2 +-
2 files changed, 2 insertions
. This is a code replication until the
pre-driver-model version is dropped.
Signed-off-by: Dario Binacchi
---
Changes in v7:
- Add linux/err.h header in am335x-fb.c to fix building errors for
brxre1_defconfig.
Changes in v4:
- Include device_compat.h header for dev_xxx macros.
drivers/video/Makefile
the same driver.
There are now two drivers, each with its own compatible string,
functions and API.
Furthermore, the panel driver, in addition to decoding the display
timings, is now also able to manage the backlight.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since
Add drivers/video/ti/ folder and move all TI's code in this folder for
better maintenance.
Signed-off-by: Dario Binacchi
---
Changes in v7:
- Fix building errors for:
brppt1_mmc_defconfig
brppt1_nand_defconfig
brppt1_spi_defconfig
brxre1_defconfig
brsmarc1_defconfig
board/BuR
the DPLL registers are removed from the LCD driver code
because they are implemented inside the DPLL clock driver.
Signed-off-by: Dario Binacchi
---
(no changes since v3)
Changes in v3:
- Add clk.h header.
- Fix an error code returned by the probe function.
drivers/video/am335x-fb.c | 129
The patch adds a function to get display timings from the device tree
node attached to the device.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v1)
arch/sandbox/dts/test.dts | 46 ++
drivers/core/read.c | 6 +++
include/dm/read.h
Enabling the domain clock is performed by the sysc interconnect target
module driver during the video device probing.
Signed-off-by: Dario Binacchi
---
(no changes since v3)
Changes in v3:
- Remove clock domain enabling/disabling.
- Update the commit message.
arch/arm/mach-omap2/am33xx
The TI PWMSS driver is a simple bus driver for providing clock and power
management for the PWM peripherals on TI AM33xx SoCs, namely eCAP,
eHRPWM and eQEP.
For DT binding details see Linux doc:
- Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt
Signed-off-by: Dario Binacchi
The patch moves the clk-ti-sci.c file to the 'ti' directory along with
all the other TI's drivers, and renames it clk-sci.c.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/clk/Kconfig| 8
drivers/clk/Makefile | 1
301 - 400 of 699 matches
Mail list logo