Re: [PATCH 4/6] arm: dts: k3-am642-r5-evm: Add I2C0 and Card detect GPIOs

2023-07-06 Thread Nishanth Menon
gt; + compatible = "nxp,pca9554"; > + reg = <0x38>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > }; > > &usbss0 { > -- > 2.34.1 > NAK - Upstream kernel first please, we should get this change as part of sync from kernel. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Nishanth Menon
pinctrl-0 = <&main_i2c0_pins_default>; > + clock-frequency = <40>; > + > + eeprom@50 { > + /* AT24CM01 */ > + compatible = "atmel,24c1024"; > + reg = <0x50>; > + }; > +}; > + > &main_i2c1 { > status = "okay"; > pinctrl-names = "default"; > -- > 2.34.1 > We should be getting this change again as part of sync back from kernel. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-07-06 Thread Nishanth Menon
"ti-musb-peripheral", > > -- > 2.37.3 > Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v4 2/2] arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Nishanth Menon
> -&usb0 { > - dr_mode = "peripheral"; > -}; > - > &i2c0 { > bootph-all; > }; > > -- > 2.37.3 > Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Nishanth Menon
On 17:13-20230706, Roger Quadros wrote: > Hi Nishanth, > > On 06/07/2023 15:38, Nishanth Menon wrote: > > On 21:10-20230704, Roger Quadros wrote: > >> main_i2c0 and pinmux should be in k3-am642-evm.dts. > >> Also add the I2C EEPROM. > >> > >> Si

Re: [PATCH v5 20/23] doc: board: ti: Update documentation for binman flow

2023-07-07 Thread Nishanth Menon
tforms/w/docs/483/trusted-firmware-a Trusted Firmware-A is the new name. > Tree: https://github.com/ARM-software/arm-trusted-firmware.git I believe the official repo is https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/ [...] -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[RFC PATCH 0/4] arm: dts: Sync k3-am62 with upstream

2023-07-13 Thread Nishanth Menon
d the full series in [3]. Attempting am625 as a start of a series of clean ups for device tree for u-boot, but will love to get any review comments to improve this series up. Nishanth Menon (2): arm: dts: Fix build of am62a7 dtbs arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1 Sjoerd Simons (

[RFC PATCH 3/4] arm: dts: Fix build of am62a7 dtbs

2023-07-13 Thread Nishanth Menon
am62a7 should be built with CONFIG_SOC_K3_AM62A7 not CONFIG_SOC_K3_AM625 Fixes: 6bdfa69155d8 ("arm: dts: introduce am62a7 u-boot dtbs") Cc: Bryan Brattlof Cc: Vignesh Raghavendra Cc: Francesco Dolcini Cc: Sjoerd Simons Cc: Wadim Egorov Signed-off-by: Nishanth Menon --- Found thi

[RFC PATCH 2/4] arm: mach-k3: am62: Add timer0 id to the dev list

2023-07-13 Thread Nishanth Menon
Egorov [n...@ti.com: Fixup num_devices] Signed-off-by: Nishanth Menon --- Changes since Sjoerd's revision: I fixed up the num_devs to be 22. V1: https://lore.kernel.org/r/20230406185542.1179073-3-sjo...@collabora.com arch/arm/mach-k3/am62x/dev-data.c | 3 ++- 1 file changed, 2 insertions(

[RFC PATCH 1/4] omap: timer: add ti,am654-timer compatibility

2023-07-13 Thread Nishanth Menon
From: Sjoerd Simons THe TI AM654 timer is compatible with the omap-timer implementation, so add it to the id list Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini Tested-by: Ravi Gunasekaran Tested-by: Mattijs Korpershoek Cc: Francesco Dolcini Cc: Wadim Egorov Signed-off-by: Nishanth

[RFC PATCH 4/4] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-13 Thread Nishanth Menon
ned-off-by: Nishanth Menon --- This is a respin of Sjoerd's series.. quiet a bit of sync there. but should make it easier to add on newer boards by backporting from upstream kernel. arch/arm/dts/k3-am62-main.dtsi | 389 +++-- arch/arm/dts/k3-am62-mcu.dtsi| 66

Re: [RFC PATCH 2/4] arm: mach-k3: am62: Add timer0 id to the dev list

2023-07-13 Thread Nishanth Menon
On 17:08-20230713, Ravi Gunasekaran wrote: > > > On 7/13/23 12:50 PM, Nishanth Menon wrote: > > From: Sjoerd Simons > > > > Timer0 is used by u-boot as the tick timer; Add it to the soc devices > > list so it can be enabled via the k3 power controller. >

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-07-13 Thread Nishanth Menon
the order indicated by defconfig? And adds capability to have fall through down to board type detection (thinking cape_detect / ti_card_detect etc..).. Also boards that dont care for this can disable the configuration and use the rest of the codebase (simplify evm.c) Just my 2 cents.. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[PATCH] arm: mach-k3: *: dev-data: Update to use ARRAY_SIZE

2023-07-13 Thread Nishanth Menon
Instead of hard-coding the count of entries manually, use ARRAY_SIZE to keep the count updates appropriately. Cc: Bryan Brattlof Suggested-by: Ravi Gunasekaran Signed-off-by: Nishanth Menon --- Link to discussion that triggered this: https://lore.kernel.org/all/20230713185927.3h6vqap4x3h62

Re: [RFC PATCH 3/4] arm: dts: Fix build of am62a7 dtbs

2023-07-13 Thread Nishanth Menon
On 14:00-20230713, Bryan Brattlof wrote: > On July 13, 2023 thus sayeth Nishanth Menon: > > am62a7 should be built with CONFIG_SOC_K3_AM62A7 not CONFIG_SOC_K3_AM625 > > > > Fixes: 6bdfa69155d8 ("arm: dts: introduce am62a7 u-boot dtbs") > > Cc: Bryan Brattlof

[PATCH] arm: dts: Fix build of am62a7 dtbs

2023-07-13 Thread Nishanth Menon
y: Mattijs Korpershoek Signed-off-by: Nishanth Menon --- Changes since RFC: none. just realized it did'nt have much to do with the rest of the series.. so could be kept seperate and pulled in independently. Just picked up the reviewed-by from the RFC (thanks).. RFC: https://lo

Re: [RFC PATCH 0/3] Minimal platform configuration

2023-07-13 Thread Nishanth Menon
for us at least, config fragments opens up a sustainable and low-fail option of consistently enabling features across SoCs and platforms. I think many folks who struggle with the same will concur as well. We are definitely open to following a structured set of rules when and how it should be used.. but hopefully, this helps explains? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH] configs: k2x_evm: Always include FIT loading support

2023-07-14 Thread Nishanth Menon
On 14:00-20230714, Andrew Davis wrote: > Non-HS boards can use FIT images so include the env var commands > for these unconditionally. > > Signed-off-by: Andrew Davis Reviewed-by: Nishanth Menon > --- > include/configs/k2e_evm.h | 11 ++- > include/co

Re: [PATCH v7 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-14 Thread Nishanth Menon
I was trying to add beaglebone-ai64 support and discovered that this messes the reuse of j721e-binman.dtsi for ai64. I am forced to introduce j721e-sk.dtb - so why not just use SPL_NODTB SPL_J721E_BOARD_DTB, UBOOT_NODTB J721E_EVM_BOARD_DTB (generic names) and drop the specific sk stuff? And define t

Re: [PATCH v7 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-17 Thread Nishanth Menon
On 13:21-20230717, Neha Malcom Francis wrote: > Hi Nishanth > > On 17/07/23 11:41, Neha Malcom Francis wrote: > > Hi Nishanth, > > > > On 15/07/23 12:00, Neha Malcom Francis wrote: > > > Hi Nishanth > > > > > > On 15/07/23 11:44, Nishan

Re: [PATCH 12/18] include: armv7: Enable distroboot across all configs

2023-07-17 Thread Nishanth Menon
is > the question that you are asking, maybe Nishanth/Bryan can help with > that as Bryan had done it for am62ax [0] but we do this boot mechanism > for sure. > > [0]: https://lore.kernel.org/u-boot/20221224011525.4696-5...@ti.com/ > 2 cents: There is no reason for us to have our

Re: [PATCH 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-17 Thread Nishanth Menon
stuff. I already posted am62x sync, but as you notice - there is a bunch more cleanups to do there. https://lore.kernel.org/all/20230713072019.3153871-1...@ti.com/ If you don'nt mind syncing with me on irc, we can work through the details needed. -- Regards, Nishanth Menon Key (0xDD

Re: [RFC PATCH 4/4] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-19 Thread Nishanth Menon
On 10:27-20230719, Maxime Ripard wrote: > Hi Nishanth, > > On Thu, Jul 13, 2023 at 02:20:19AM -0500, Nishanth Menon wrote: [...] > > - Add mdio pins to the cpsw3g pinctrl in u-boot dtsi. It moved to a subnode > > in the > > linux dtsi that u-boot doesn't use/

Re: [RFC PATCH 4/4] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-19 Thread Nishanth Menon
On 16:14-20230719, Maxime Ripard wrote: > On Wed, Jul 19, 2023 at 09:05:55AM -0500, Nishanth Menon wrote: > > On 10:27-20230719, Maxime Ripard wrote: > > > Hi Nishanth, > > > > > > On Thu, Jul 13, 2023 at 02:20:19AM -0500, Nishanth Menon wrote: > > [...]

Re: [PATCH 0/4] net: ti: am65-cpsw-nuss: Fix DT binding handling of pinctrl

2023-07-20 Thread Nishanth Menon
d just > use > that instead. But this allows for a cleaner device tree while the driver can be fixed up independently, correct? Unfortunately, Siddharth's driver model work, from what I understand, is around 2024 timeframe.. which is probably not something that helps us in the community at this point. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 0/4] net: ti: am65-cpsw-nuss: Fix DT binding handling of pinctrl

2023-07-20 Thread Nishanth Menon
will squash up the fixup patches, lets try and get the rest of the patches reviewed? I can put out a new RFC based on this series (or updates). -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v3 3/3] board: toradex: add verdin am62 support

2023-07-21 Thread Nishanth Menon
ng up mdio, dts, ethernet etc and introducing binman at the moment. I think it might be better to introduce new platforms with those changes incorporated. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[PATCH 2/3] arm: mach-k3: am62: Add timer0 id to the dev list

2023-07-25 Thread Nishanth Menon
Egorov Signed-off-by: Nishanth Menon --- Since RFC: * num_devices has been merged independently Original patch: https://lore.kernel.org/r/20230406185542.1179073-3-sjo...@collabora.com arch/arm/mach-k3/am62x/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/am62x/dev

[PATCH 0/3] arm: dts: Sync k3-am62 with upstream

2023-07-25 Thread Nishanth Menon
262308 Changes since RFC: * dependencies are all merged on master now. * No new dependencies in this series, though the issue with uboot dtb not working for kernel is not a regression, it should probably be handled as a fixup part of RC Cycle. RFC: https://lore.kernel.org/u-boot/20230713072019.31538

[PATCH 1/3] omap: timer: add ti,am654-timer compatibility

2023-07-25 Thread Nishanth Menon
From: Sjoerd Simons THe TI AM654 timer is compatible with the omap-timer implementation, so add it to the id list Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini Tested-by: Ravi Gunasekaran Tested-by: Mattijs Korpershoek Cc: Francesco Dolcini Cc: Wadim Egorov Signed-off-by: Nishanth

[PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-25 Thread Nishanth Menon
ned-off-by: Nishanth Menon --- I decided not to pick up changes from Roger and Maxime as they are'nt regression fixes, instead the fixups can be done on top of the basic sync. arch/arm/dts/k3-am62-main.dtsi | 389 +++-- arch/arm/dts/k3-am62-mcu.dtsi| 66 +

Re: [PATCH v3 3/3] board: toradex: add verdin am62 support

2023-07-25 Thread Nishanth Menon
On 11:37-20230725, Francesco Dolcini wrote: > Hello Tom, hello Nishanth, > > On Mon, Jul 24, 2023 at 07:23:03PM -0400, Tom Rini wrote: > > On Mon, Jul 24, 2023 at 08:34:04PM +, Marcel Ziswiler wrote: > > > On Fri, 2023-07-21 at 08:37 -0500, Nishanth Menon wrote: &

Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-25 Thread Nishanth Menon
On 15:56-20230725, Maxime Ripard wrote: > Hi, > > On Tue, Jul 25, 2023 at 07:58:56AM -0500, Nishanth Menon wrote: > > Update the am62 and am625 device-trees from linux v6.3-rc5 This needed the > > followin > > tweaks to the u-boot specific dtsi as well: > > - Sw

[PATCH 6/6] doc: board: ti: Add beagleplay documentation

2023-07-25 Thread Nishanth Menon
Add base documentation for beagleplay Signed-off-by: Nishanth Menon --- doc/board/ti/am62x_beagleplay.rst | 169 ++ doc/board/ti/k3.rst | 1 + 2 files changed, 170 insertions(+) create mode 100644 doc/board/ti/am62x_beagleplay.rst diff --git a/doc

[PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Nishanth Menon
Do the basic configuration required for setting up the USB core voltage configuration, setup to configure the 32k clock coming from 32k crystal and the debounce configurations for the various pins. Signed-off-by: Nishanth Menon --- board/ti/am62x/evm.c | 46

[PATCH 2/6] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary

2023-07-25 Thread Nishanth Menon
Add labels for unsigned binary to permit over-ride. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-am625-sk-binman.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi b/arch/arm/dts/k3-am625-sk-binman.dtsi index a35d6418c25f

[PATCH 1/6] doc: board: ti: k3: Sort the boards in alphabetical order

2023-07-25 Thread Nishanth Menon
Keep the boards sorted in alphabetical order. Signed-off-by: Nishanth Menon --- doc/board/ti/k3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index 2db7bbdb42ec..126d4e153c0a 100644 --- a/doc/board/ti/k3.rst +++ b/doc/board

[PATCH 5/6] configs: Add am62x_beagleplay_* defconfigs

2023-07-25 Thread Nishanth Menon
Add defconfigs for am625 based beagleplay Signed-off-by: Nishanth Menon --- configs/am62x_beagleplay_a53_defconfig | 90 configs/am62x_beagleplay_r5_defconfig | 110 + 2 files changed, 200 insertions(+) create mode 100644 configs

[PATCH 0/6] board: ti: Add support for BeaglePlay

2023-07-25 Thread Nishanth Menon
networking out of picture for now as it is still evolving. Nishanth Menon (5): doc: board: ti: k3: Sort the boards in alphabetical order arm: dts: k3-am625-sk-binman: Add labels for unsigned binary board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

[PATCH 4/6] arm: dts: Add k3-am625-beagleplay

2023-07-25 Thread Nishanth Menon
-..020078|] https://beagleplay.org/ https://git.beagleboard.org/beagleplay/beagleplay baseline of base device tree is v6.5-rc1. Signed-off-by: Robert Nelson Co-developed-by: Nishanth Menon Signed-off-by: Nishanth Menon --- arch/arm/dts/Makefile |4 +- .../dts/k3-am625

Re: [PATCH 00/11] Introduce basic support for TI's AM62Px SoC family

2023-10-16 Thread Nishanth Menon
lays, industrial HMI, and more. > > Some highlights of AM62P SoC are: > This is Nice, BUT, I suggest cleaning up AM65 and AM62A prior to attacking AM62P. I would like to see: a) dt sync b) maintain the bootph - so that the boards finally boot c) switch to stdboot. -- Regards,

Re: [PATCH v1] arm: dts: k3-am625-verdin: fix boot

2023-10-16 Thread Nishanth Menon
h-all'. > > Fixes: 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc > after relocation") > Signed-off-by: Marcel Ziswiler > Reviewed-by: Nishanth Menon > --- > > .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 72 +-

Re: [PATCH 1/9] DO NOT MERGE: arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-10-16 Thread Nishanth Menon
= <&wkup_i2c0_pins_default>; > - clock-frequency = <40>; > > regulators: regulators { > bootph-pre-ram; > -- > 2.39.2 > Please send these changes upstream linux kernel. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH] arm: dts: k3-j721e-mcu-wakeup: Add MCU domain ESM instance

2023-10-17 Thread Nishanth Menon
ti.com/lit/zip/spruil1 > > > > Signed-off-by: Neha Malcom Francis > > --- > > Upstream kernel effort: > > https://lore.kernel.org/lkml/20230926142810.602384-1-n-fran...@ti.com/ > > > should part of next u-boot, kernel sync, no? > That is correct, this should come in

Re: [PATCH 1/9] DO NOT MERGE: arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-10-19 Thread Nishanth Menon
On 14:42-20231019, Thomas Richard wrote: > On 10/16/23 18:29, Nishanth Menon wrote: > > On 16:11-20231016, Thomas Richard wrote: > >> From: Gowtham Tammana > >> > >> Add pmic tps659413 node needed for ESM error event handling. > >> > >> Si

Re: [RESEND PATCH] board: ti: common: board_detect: Fix EEPROM offset read for 1-byte

2023-10-20 Thread Nishanth Menon
set_test, sizeof(offset_test)); > > - if (*((u32 *)ep) != (header & 0xFF)) > > + if (offset_test != ((header >> 8) & 0xFF)) > > one_byte_addressing = false; > > /* Corrupted data??? */ You missed the else CONFIG_IS_ENABLED(DM_I2C) case

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-10-25 Thread Nishanth Menon
mmc to work? > you have added bootph-* flags to those nodes too .? I have no idea what I am supposed to be doing.. So: default answer: read the code? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v2] board: ti: common: board_detect: Fix EEPROM offset read for 1-byte

2023-10-26 Thread Nishanth Menon
s_addr, > int dev_addr, > > rc = i2c_read(dev_addr, 0x1, byte, &offset_test, sizeof(offset_test)); > > - if (*((u32 *)ep) != (header & 0xFF)) > + if (offset_test != ((header >> 8) & 0xFF)) > one_byte_addressing = false; > > /* Corrupted data??? */ > -- > 2.39.0 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-27 Thread Nishanth Menon
.dtsi | 23 > 4 files changed, 104 insertions(+) > > > base-commit: 351da15f71e3d70dbc63e90781b403415452d864 > -- > 2.34.1 > Thanks for this. Reviewed-by: Nishanth Menon NOTE: These extra properties are already in discussion in Linux community.

Re: [PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-28 Thread Nishanth Menon
sume > eventually those properties will move > to the SoC dtsi rather than having to be separately defined U-Boot-specific > in each and every board. > Correct, that is the plan once we get through the maintainers in upstream kernel. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / F

Re: [PATCH v2 1/4] arm: dts: Refactor common dtsi file for R5 and A53 SPL

2023-10-31 Thread Nishanth Menon
gt; - mmc1 = &sdhci1; > - }; > - > - memory@8000 { > - bootph-pre-ram; > - }; > -}; > - > -&cbass_main { > - bootph-pre-ram; > -}; What code base are you based off? https://github.com/u-boot/u-boot/blob/master/arch/arm/dts

Re: [PATCH v2 2/4] arm: dts: Add support for AM62x LP SK

2023-10-31 Thread Nishanth Menon
}; > + > + ldo3_reg: ldo3 { > + regulator-name = "VDDA_1V8"; > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <180>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + ldo4_reg: ldo4 { > + regulator-name = "VDD_1V2"; > + regulator-min-microvolt = <120>; > + regulator-max-microvolt = <120>; > + regulator-boot-on; > + regulator-always-on; > + }; > + }; > + }; > +}; > + > +&tlv320aic3106 { > + DVDD-supply = <&buck2_reg>; > +}; > diff --git a/arch/arm/dts/k3-am62-r5-lp-sk.dts > b/arch/arm/dts/k3-am62-r5-lp-sk.dts > new file mode 100644 > index 00..9f4f454aec > --- /dev/null > +++ b/arch/arm/dts/k3-am62-r5-lp-sk.dts > @@ -0,0 +1,12 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * AM62x LP SK dts file for R5 SPL > + * Copyright (C) 2021-2023 Texas Instruments Incorporated - > https://www.ti.com/ > + */ > + > +#include "k3-am62-lp-sk.dts" > +#include "k3-am62x-ddr-lp4-50-800-800.dtsi" > +#include "k3-am62-ddr.dtsi" > + > +#include "k3-am62-lp-sk-u-boot.dtsi" > +#include "k3-am62x-r5-sk-common.dtsi" > diff --git a/arch/arm/dts/k3-am62x-ddr-lp4-50-800-800.dtsi > b/arch/arm/dts/k3-am62x-ddr-lp4-50-800-800.dtsi > new file mode 100644 > index 00..a0d0376608 > --- /dev/null > +++ b/arch/arm/dts/k3-am62x-ddr-lp4-50-800-800.dtsi > @@ -0,0 +1,2190 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * This file was generated with the > + * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.08.61 > + * Tue Mar 22 2022 17:03:08 GMT-0500 (Central Daylight Time) > + * DDR Type: LPDDR4 (MT53E1G16D1FW-046 WT:A) > + * F0 = 50MHzF1 = 800MHzF2 = 800MHz > + * Density (per channel): 16Gb > + * Number of Ranks: 1 > + */ > + > +#define DDRSS_PLL_FHS_CNT 6 > +#define DDRSS_PLL_FREQUENCY_1 4 > +#define DDRSS_PLL_FREQUENCY_2 4 > + [...] -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v2 4/4] doc: ti: Add AM62x LP SK Board information

2023-10-31 Thread Nishanth Menon
defconfig am62x_lpsk_a53.config Please refactor to ensure that the document renders completely for SKB and LP-SK so that one can copy paste instructions cleanly. > .. am62x_evm_rst_include_start_build_steps > > 1. Trusted Firmware-A: > -- > 2.25.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[PATCH] doc: ti: j7200_evm: Fix OPTEE platform name

2023-11-01 Thread Nishanth Menon
k3-j7200 does not exist in upstream OPTEE. Use j721e as the platform name. Using k3-j7200 as OPTEE name results in broken boot due to wrong configuration being picked. Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions") Signed-off-by: Nishanth Menon --- Cc: Reid T

Re: [PATCH 0/6] Add AM62SIP SK support

2023-11-01 Thread Nishanth Menon
thub.com/nmenon/a86f1384e62df1359d8da1cd42b5d4ad Please consider my NAK to new SoCs till the existing ones boot at the very least. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH v2 0/4] Add AM62x LP SK support

2023-11-01 Thread Nishanth Menon
> create mode 100644 board/ti/am62x/am62x_lpsk_a53.config > create mode 100644 board/ti/am62x/am62x_lpsk_r5.config > > -- > 2.25.1 > Both AM654 and AM62A need DT-sync: https://gist.github.com/nmenon/a86f1384e62df1359d8da1cd42b5d4ad Please consider fixing existing platforms to boot before we introduce new ones. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 1/2] Makefile: Run defconfig files through the C preprocessor

2023-11-02 Thread Nishanth Menon
On 12:05-20231101, Andrew Davis wrote: > This allows us to use some of the normal preprocessor directives inside > defconfig files. Such as #define and #include. > > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Reviewed-by: Nishanth Menon -- Regards, Nis

Re: [PATCH 2/2] configs: Add am62x_beagleplay_* defconfigs

2023-11-02 Thread Nishanth Menon
lude "board/ti/am62x/beagleplay_r5.config" Let us also update the documentation doc/board/ti/am62x_beagleplay.rst to point people to this configuration? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[PATCH 3/3] doc: board: ti: k3 docs: Use ::prompt

2023-11-02 Thread Nishanth Menon
Use prompt instead of code-block to have copy-paste friendly command documentation. Signed-off-by: Nishanth Menon --- doc/board/ti/am62x_beagleplay.rst | 46 - doc/board/ti/am62x_sk.rst | 18 +++ doc/board/ti/am64x_evm.rst| 20 +++ doc/board/ti

[PATCH 1/3] doc: board: ti: Use prompt prompt_style to simplify documentation

2023-11-02 Thread Nishanth Menon
The sphinx-prompt documentation[0] provides examples on how we can use prompt as a parameter to simplify the description. Use the same. [0] http://sbrunner.github.io/sphinx-prompt/ Signed-off-by: Nishanth Menon --- doc/board/ti/am335x_evm.rst | 39 + doc

[PATCH 0/3] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
u-boot-i2c Nishanth Menon (3): doc: board: ti: Use prompt prompt_style to simplify documentation doc: board: ti: k3: Use ::prompt for gdb commands doc: board: ti: k3 docs: Use ::prompt doc/board/ti/am335x_evm.rst | 39 +- doc/board/ti/am62x_beagleplay.rst | 46 -

[PATCH 2/3] doc: board: ti: k3: Use ::prompt for gdb commands

2023-11-02 Thread Nishanth Menon
Provide more friendlier documentation with prompt (gdb) option Signed-off-by: Nishanth Menon --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index e9bbe7c09794..c20e33d00412 100644 --- a/doc/board

[PATCH 07/15] board: ti: j721e: evm: Use IS_ENABLED with CONFIG_PHYS_64BIT

2023-11-02 Thread Nishanth Menon
Use IS_ENABLED to replace the #ifdeffery. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d49993fffe39..0fc141776818 100644 --- a/board/ti

[PATCH 10/15] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-02 Thread Nishanth Menon
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j721e_evm_a72_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

[PATCH 09/15] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-02 Thread Nishanth Menon
Add explicit boot_targets to indicate the specific boot sequence to follow. Signed-off-by: Nishanth Menon --- board/ti/j721e/j721e.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.env index 8cc8232fc131..cb27bf5e2b24 100644 --- a/board/ti

[PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file

2023-11-02 Thread Nishanth Menon
Add defconfig fragments for J721E based BeagleBone AI-64 and corresponding customized environment. Signed-off-by: Nishanth Menon --- board/ti/j721e/beagleboneai64.env| 19 board/ti/j721e/beagleboneai64_a72.config | 55 board/ti/j721e/beagleboneai64_r5

[PATCH 06/15] board: ti: j721e: evm: Drop board based serdes initialization

2023-11-02 Thread Nishanth Menon
Serdes initialization should be compile flag based instead of being eeprom based. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 17640ae79665..d49993fffe39

[PATCH 00/15] board: ti: Add support for BeagleBone AI-64

2023-11-02 Thread Nishanth Menon
t support * USB boot is broken (or was just noticed) - some sort of regression with serdes is my best guess. * We could potentially enable something like nvme boot as well if we can make PCIe work Nishanth Menon (14): arm: mach-k3: j721e: Improve support for UDA FS configs: j7200: Remove HB

[PATCH 02/15] configs: j7200: Remove HBMC_AM654 config

2023-11-02 Thread Nishanth Menon
.com/ Signed-off-by: Nishanth Menon --- configs/j7200_evm_a72_defconfig | 1 - configs/j7200_evm_r5_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig index cb4a141675da..889358afc316 100644 --- a/configs/j7200_evm_a72_def

[PATCH 15/15] doc: board: ti: Add BeagleBone AI-64 documentation

2023-11-02 Thread Nishanth Menon
Add base documentation for BeagleBone AI-64. Signed-off-by: Nishanth Menon --- doc/board/ti/j721e_beagleboneai64.rst | 327 ++ doc/board/ti/k3.rst | 1 + 2 files changed, 328 insertions(+) create mode 100644 doc/board/ti/j721e_beagleboneai64.rst

[PATCH 01/15] arm: mach-k3: j721e: Improve support for UDA FS

2023-11-02 Thread Nishanth Menon
ration being enabled to pick boot partition or UDA FS mode operation to pick. If EMMC_BOOT is disabled, then depend on filesystem configuration to pick data from UDA. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/j721e_init.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) d

[PATCH 03/15] board: ti: j721e: evm: Drop board check for ESM

2023-11-02 Thread Nishanth Menon
When config is enabled, the esm dt probe makes sense. Simplify by dropping board specific checks. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d4f7c1d9f938

[PATCH 08/15] board: ti: j721e: evm: Split code to isolate eeprom detected logic

2023-11-02 Thread Nishanth Menon
Move code out of evm.c that is based on evm specific checks for board variants and initialization sequences there of. Signed-off-by: Nishanth Menon --- board/ti/j721e/Makefile| 1 + board/ti/j721e/{evm.c => board-variants.c} | 172 + board/ti/j721e/ev

[PATCH 11/15] arm: dts: k3-j721e-binman: Allow a single board configuration

2023-11-02 Thread Nishanth Menon
Allow the reuse of k3-j721e-binman for other platforms such as BeagleBone-AI64. We don't need to build SK device tree blobs in-order to be able to build dtbs for single configuration platforms. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721e-binman.dtsi

[PATCH 05/15] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-02 Thread Nishanth Menon
Switch to using IS_ENABLED() for inline function usage. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 83 ++-- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 8f0996c32ee6

[PATCH 12/15] arm: dts: k3-j721e-binman: Use macros that can be overridden for dtbs

2023-11-02 Thread Nishanth Menon
Allow the reuse of k3-j721e-binman for other platforms such as BeagleBone-AI64. Provide a couple of macros to indicate the correct dtb to be able to re-use soc binman dtsi file Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721e-binman.dtsi | 12 1 file changed, 12 insertions

[PATCH 04/15] board: ti: j721e: evm: Drop unused headers

2023-11-02 Thread Nishanth Menon
Drop headers that are no longer necessary for build Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 8 1 file changed, 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 75d51a0552c4..8f0996c32ee6 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti

[PATCH 13/15] arm: dts: Add k3-j721e-beagleboneai64

2023-11-02 Thread Nishanth Menon
://git.beagleboard.org/beagleboard/beaglebone-ai-64 Signed-off-by: Robert Nelson Signed-off-by: Nishanth Menon --- arch/arm/dts/Makefile |5 +- .../dts/k3-j721e-beagleboneai64-u-boot.dtsi | 206 ++ arch/arm/dts/k3-j721e-beagleboneai64.dts | 993 .../k3-j721e-ddr

Re: [PATCH 0/3] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
On 19:09-20231102, Nishanth Menon wrote: > Due to the sequence of merges, it looks like many of k3 documentation > used code-blocks while the rest of the docs migrated to ::prompt. > > Sync all to a common style. > > based off: > master 07fe79c93c5c Merge tag 'i2c

[PATCH V2 1/2] doc: board: ti: Use prompt prompt_style to simplify documentation

2023-11-02 Thread Nishanth Menon
The sphinx-prompt documentation[0] provides examples on how we can use prompt as a parameter to simplify the description. Use the same. While at it, ensure to make all relevant prompts clarified such as gdb prompts. [0] http://sbrunner.github.io/sphinx-prompt/ Signed-off-by: Nishanth Menon

[PATCH V2 2/2] doc: board: ti: k3 docs: Use ::prompt

2023-11-02 Thread Nishanth Menon
Use prompt instead of code-block to have copy-paste friendly command documentation. Signed-off-by: Nishanth Menon --- Changes since v1: minor fixup for whitespace indentation. V1: https://lore.kernel.org/r/20231103000915.2413501-4...@ti.com doc/board/ti/am62x_beagleplay.rst | 46

[PATCH V2 0/2] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
u-boot-i2c Changes since V1: * squashed up the gdb patch to patch#1 * fixedup patch #2 for whitespace indentation miss v1: https://lore.kernel.org/r/20231103000915.2413501-1...@ti.com Nishanth Menon (2): doc: board: ti: Use prompt prompt_style to simplify documentation doc: board: ti: k3 docs: Us

Re: [PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file

2023-11-03 Thread Nishanth Menon
On 13:51-20231103, Andrew Davis wrote: > On 11/2/23 7:38 PM, Nishanth Menon wrote: > > Add defconfig fragments for J721E based BeagleBone AI-64 and > > corresponding customized environment. > > > > Signed-off-by: Nishanth Menon > > --- > > board/

Re: [PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file

2023-11-03 Thread Nishanth Menon
On 16:20-20231103, Tom Rini wrote: > On Fri, Nov 03, 2023 at 02:06:29PM -0500, Nishanth Menon wrote: > > On 13:51-20231103, Andrew Davis wrote: > > > On 11/2/23 7:38 PM, Nishanth Menon wrote: > > > > Add defconfig fragments for J721E based BeagleBone AI-64 and &g

[PATCH] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-03 Thread Nishanth Menon
This file is common for all of K3, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. Signed-off-by: Nishanth Menon --- Cc: Neha Malcom Francis Cc: Simon Glass Cc: Marcel Ziswiler Cc: Vignesh Raghavendra Cc: Francesco

[PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-03 Thread Nishanth Menon
This file is used to emulate customer keys on TI development board ecosystems, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file which is redundant. Signed-off-by: Nishanth

[PATCH V2 0/2] arm: mach-k3: Move TI keys out of board folder

2023-11-03 Thread Nishanth Menon
/ Nishanth Menon (2): arm: mach-k3: Move K3 degenerate keys out of board folder arm: mach-k3: Move TI dummy keys out of board folder arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi | 8 arch/arm/dts/k3-binman.dtsi | 4 ++-- {board/ti => arch/arm/m

[PATCH V2 1/2] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-03 Thread Nishanth Menon
This file is common for all of K3, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file which is redundant. Signed-off-by: Nishanth Menon --- Changes from V1: * Dropped the

Re: [PATCH] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-03 Thread Nishanth Menon
}; > > You shouldn't need to modify dkey_pem here anymore if the path is now > absolute, you can just drop this whole override node. > > While here you might as well move the TI dummy key (custMpk.pem) over > the same way. True.. done in V2. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

[PATCH V2 03/12] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-04 Thread Nishanth Menon
Switch to using IS_ENABLED() for inline function usage. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 83 ++-- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 8f0996c32ee6

[PATCH V2 05/12] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-04 Thread Nishanth Menon
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j721e_evm_a72_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

[PATCH V2 02/12] board: ti: j721e: evm: Drop board check for ESM

2023-11-04 Thread Nishanth Menon
When config is enabled, the esm dt probe makes sense. Simplify by dropping board specific checks. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index aa22f1653fec

[PATCH V2 10/12] configs: j7200: Remove HBMC_AM654 config

2023-11-04 Thread Nishanth Menon
.com/ Signed-off-by: Nishanth Menon --- configs/j7200_evm_a72_defconfig | 1 - configs/j7200_evm_r5_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig index cb4a141675da..889358afc316 100644 --- a/configs/j7200_evm_a72_def

[PATCH V2 04/12] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-04 Thread Nishanth Menon
Add explicit boot_targets to indicate the specific boot sequence to follow. Signed-off-by: Nishanth Menon --- board/ti/j721e/j721e.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.env index 8cc8232fc131..cb27bf5e2b24 100644 --- a/board/ti

[PATCH V2 01/12] board: ti: j721e: evm: Drop unused headers

2023-11-04 Thread Nishanth Menon
Drop headers that are no longer necessary for build Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 8 1 file changed, 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d4f7c1d9f938..aa22f1653fec 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti

[PATCH V2 09/12] arm: mach-k3: j721e: Improve support for UDA FS

2023-11-04 Thread Nishanth Menon
ration being enabled to pick boot partition or UDA FS mode operation to pick. If EMMC_BOOT is disabled, then depend on filesystem configuration to pick data from UDA. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/j721e_init.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) d

[PATCH V2 11/12] configs: j7200_evm_a72_defconfig: Switch to bootstd

2023-11-04 Thread Nishanth Menon
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j7200_evm_a72_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

[PATCH V2 06/12] arm: mach-k3: Kconfig: Introduce a symbol to indicate J7200

2023-11-04 Thread Nishanth Menon
J7200 shares quite a few characteristics with J721E. However a few sets are different. Introduce a Kconfig to differentiate the two to allow for new boards to be introduced in a seamless manner. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/Kconfig | 5 + 1 file changed, 5 insertions

[PATCH V2 07/12] board: ti: j721e: Select SOC_K3_J721E_J7200 for J7200evm

2023-11-04 Thread Nishanth Menon
Enable SOC_K3_J721E_J7200 when board is J7200 EVM - this allows us to differentiate J7200 platform cleanly in board independent codebase. Signed-off-by: Nishanth Menon --- board/ti/j721e/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/Kconfig b/board/ti/j721e/Kconfig

[PATCH V2 12/12] doc: board: ti: j721e_evm: Use board relative path for include directives

2023-11-04 Thread Nishanth Menon
When using include directives within a section that is included by non TI board rst file, k3.rst and other include paths need to be relative to doc/board/ base. Signed-off-by: Nishanth Menon --- doc/board/ti/j721e_evm.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions

  1   2   3   4   5   6   7   8   9   10   >