arm/arm64: dts: adi: sc59x: fix I2C and CRC nodes#3209
Conversation
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Only supports the ADZS-SC589-MINI Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Co-developed-by: Greg Malysa <greg.malysa@timesys.com> Signed-off-by: Greg Malysa <greg.malysa@timesys.com> Signed-off-by: Utsav Agarwal <Utsav.Agarwal@analog.com> Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Adding SoC audio support for the following modes: - ASoC (linux only audio) - SHARC ALSA (Hybrid Audio) - SHARC Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Introduce a hidden Kconfig symbol COMMON_CLK_ADI_PLL to handle the shared PLL code in clk-adi-pll.c. Previously, the Makefile attempted to build clk-adi-pll.o based on architecture flags (ARCH_SC5XX, ARCH_SC59X_64), which is fragile and incorrect if multiple drivers are enabled or if they are built as modules. Update the specific clock drivers (SC57X, SC58X, SC594, SC598) to select COMMON_CLK_ADI_PLL, and update the Makefile to build clk-adi-pll.o only when this symbol is selected. Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Enable COMPILE_TEST for ADI system configuration and PADS drivers. This allows these drivers to be built on other architectures for testing purposes, increasing build coverage. Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Remove the unused drivers/soc/adi/mach-sc59x/Kconfig file. The symbols defined in this file are not used. Fixes: ca0a7f7 ("soc: adi: Add initial support for SC5xx SoCs") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The `.legacy_dai_naming = 1` flag was inadvertently removed from the axi_spdif_component driver structure. Fixes: d23d7ee ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The `.legacy_dai_naming = 1` flag was inadvertently removed from the axi_i2s_component driver structure. Fixes: d23d7ee ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The output for the gige-reset line was not changed when the polarity of the gpio was changed, resulting in the gige-reset line being active all the time and preventing the probe of the ethernet. Fixes: 7eaf7e4 (ARM: dts: adi: fix polarity of GPIO signals) Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
Reconfiguring the partitions in the SPI and OSPI to remove the DTB partition and give the extra space to the rootfs partition. Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
GCC 15 changed the default C standard version to C23, which should not
have impacted the kernel because it requests the gnu11 standard via
'-std=' in the main Makefile. However, the x86 compressed boot Makefile
uses its own set of KBUILD_CFLAGS without a '-std=' value (i.e., using
the default), resulting in errors from the kernel's definitions of bool,
true, and false in stddef.h, which are reserved keywords under C23.
./include/linux/stddef.h:11:9: error: expected identifier before ‘false’
11 | false = 0,
./include/linux/types.h:35:33: error: two or more data types in declaration specifiers
35 | typedef _Bool bool;
Set '-std=gnu11' in the x86 compressed boot Makefile to resolve the
error and consistently use the same C standard version for the entire
kernel.
Closes: https://lore.kernel.org/4OAhbllK7x4QJGpZjkYjtBYNLd_2whHx9oFiuZcGwtVR4hIzvduultkgfAIRZI3vQpZylu7Gl929HaYFRGeMEalWCpeMzCIIhLxxRhq4U-Y=@protonmail.com/
Closes: https://lore.kernel.org/Z4467umXR2PZ0M1H@tucnak/
Reported-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
Reported-by: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Cc:stable@vger.kernel.org
Link: https://lore.kernel.org/all/20250121-x86-use-std-consistently-gcc-15-v1-1-8ab0acf645cb%40kernel.org
(cherry picked from commit ee2ab46)
Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
Remove unused button-led device tree nodes from sc573-ezlite, and sc594-som boards. Signed-off-by: Ozan Durgut <ozndrgt@gmail.com>
Removing these hardcoded bootargs since they are not needed, bootargs are passed from U-boot for ADSP platforms. Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
Update the labels of SPI/OSPI partitions to maintain consistency across repos. Fixes: c400f44 (ARM: dts: adi: Update SPI and OSPI partitions in device tree) Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
661c0b1 to
951725d
Compare
| can0 = &can0; | ||
| can1 = &can1; | ||
| rtc0 = &rtc0; | ||
| */ |
There was a problem hiding this comment.
Can you also look for other commented blocks like this and clean them up? 🙏
| crypto_crc_poly = <0x5c5c5c5c>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
There was a problem hiding this comment.
Please split the CRC changes into a separate commit. How did you come across the fact that the addresses were wrong and that there are two missing nodes? Is this the same in U-Boot? And where did you get the new interrupt numbers?
There was a problem hiding this comment.
Because 0x31001200 is the base address of i2c5. So crc0 cannot have the same base address. When looking for the correct address in the manuals, I noticed that sc59x has 4 CRC devices while sc57x and sc58x have only 2. U-Boot does not have CRC devices in sc5xx devicetree files. All information are from the latest processor hardware reference manuals.
nunojsa
left a comment
There was a problem hiding this comment.
On top of Philip's comments, we should have one patch for ARM and another for arm64.
Why? |
|
Basically because in linux we want self contained commits when possible. Like per arch, subystem, file... It likely does not apply/matter here but imagine you wanted to backport, apply this commit somewhere else only on ARM. You would need to take care about the arm64 changes. |
I don't see the possibility of this scenario. In what situation we will want to backport this change only on ARM but not ARM64? |
As I said, "...It likely does not apply/matter here...". But this is about processes and best practices. Up to you and Philip anyways 🤷♂️ |
This patch does the following:
- sc594-som.dtsi: remove useless code
- sc59x.dtsi: fix register block base address, register block length,
interrupt number in crc0 and crc1 nodes; add crc2 and crc3.
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Fix register block length for crc0 and crc1. Add crc2 and crc3. Add crc2_dma and crc3_dma in crc_cluster. Signed-off-by: Jie Zhang <jie.zhang@analog.com>
This patch does the following:
- sc594-som.dtsi: remove useless code
- sc59x.dtsi: add i2c3/4/5 nodes; fix register block length in i2c
controller nodes.
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Remove useless code from sc598-som.dtsi. Signed-off-by: Jie Zhang <jie.zhang@analog.com>
951725d to
f1c2c1d
Compare
|
@jiez Please rebase this on top of |
This patch does the following:
sc594-som.dtsi and sc598-som.dtsi: remove useless code
sc59x.dtsi: add i2c3/4/5 nodes; fix register block length in i2c controller nodes; fix register block base address, register block length, interrupt number in crc0 and crc1 nodes; add crc2 and crc3.
sc59x-64.dtsi: fix register block length for crc0 and crc1; add crc2 and crc3; add crc2_dma and crc3_dma in crc_cluster.
PR Description
necessary to understand them. List any dependencies required for this change.
any space), or simply check them after publishing the PR.
description and try to push all related PRs simultaneously.
PR Type
PR Checklist