u-boot/drivers
Venkatesh Yadav Abbarapu 903eb12323 i2c: mux: Fix the crash when the i2c-arbitrator node is present
Observing the crash when we add the i2c-arbitrator node in the device
tree as per the DT bindings. The issue is with the child node of
i2c-arbitrator@72 i.e., i2c@f1950000->i2c-arbitrator@72->i2c-arb, as the
arbitrator uses the uclass of mux(UCLASS_I2C_MUX) and the mux uclass driver
checks for the "reg" property using the i2c_mux_child_post_bind() function,
if it won't find the "reg" property it will return -EINVAL which is leading
to the crash.
So, add the logic to check whether the  child node has the "reg" property,
if the "reg" property exists then read the "reg" and update the channel.

https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-arb.txt

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2025-06-24 08:18:08 -06:00
..
adc adc: rockchip-saradc: Add support for RK3528 2025-04-23 22:12:04 +08:00
ata Merge patch series "MIPS: Boston: Various enhancements" 2025-04-22 15:13:21 -06:00
axi
bios_emulator
block Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
bootcount Kconfig: Move CONFIG_BOOTCOUNT_ALTBOOTCMD to Kconfig 2025-02-14 10:19:24 -06:00
bus Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
button button: qcom-pmic: allow to specify code in devicetree 2025-06-02 18:20:33 +02:00
cache
clk clk: qcom: apq8016: Fix SDCC clock warnings 2025-06-02 18:20:16 +02:00
core Merge patch series "Switch to using $(PHASE_) in Makefiles" 2025-04-11 12:16:49 -06:00
cpu cpu: imx95: add i.MX95 support 2025-05-03 16:55:32 -03:00
crypto Revert "caam: Fix CAAM error on startup" 2025-06-09 11:01:24 -06:00
ddr ddr: altera: iossm: Enhance debug information for ECC errors 2025-04-22 11:47:41 +08:00
demo
dfu dfu: fix dev_part_str for file operations 2025-06-16 08:57:57 +02:00
dma arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
extcon
fastboot fastboot: lift restrictions on !NET_LWIP for USB 2025-04-10 09:59:37 +02:00
firmware firmware: ti_sci: Add Initialization of dev_info head node 2025-05-05 14:18:59 -06:00
fpga drivers: fpga: intel_sdm_mb: Flush cache before FPGA configuration 2025-06-02 09:13:48 +02:00
fuzz
fwu-mdata
gpio gpio: tegra_gpio: implement rfree operation 2025-05-08 08:30:53 +03:00
hwspinlock
i2c i2c: mux: Fix the crash when the i2c-arbitrator node is present 2025-06-24 08:18:08 -06:00
input input: add support for CPCAP power button 2025-04-12 09:44:02 +03:00
iommu
led Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
mailbox Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
memory memory: ti-gpmc: Alloc per driver private struct 2025-03-13 14:23:05 -06:00
mfd
misc rockchip: io-domain: Add CONFIG_SPL_ROCKCHIP_IODOMAIN 2025-06-06 17:21:54 +08:00
mmc mmc: Kconfig: Really correct dependencies SDHCI ADMA options 2025-06-11 18:29:25 -06:00
mtd mtd: spi-nor: Send write disable cmd after every write enable 2025-05-06 13:13:36 -06:00
mux Merge patch series "Switch to using $(PHASE_) in Makefiles" 2025-04-11 12:16:49 -06:00
net net: designware: fix bus address dereference 2025-06-22 10:16:29 -06:00
nvme Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
pch
pci pci: zynqmp: Fix the pcireg base 2025-06-02 09:13:48 +02:00
pci_endpoint
phy phy: zynqmp: Fix sgmii clk ctrl GTR lane bit shift 2025-06-02 09:13:48 +02:00
pinctrl pinctrl: rockchip: constify rockchip_pin_ctrl for RV1108 2025-05-06 15:59:43 +08:00
power power: rk8xx: fix swapped mask and value in init registers for RK806 2025-06-06 17:23:34 +08:00
pwm pwm: mediatek: add pwm support for MediaTek MT7987 SoC 2025-03-30 09:14:44 -06:00
qe
ram ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG 2025-06-06 17:12:20 +08:00
reboot-mode
remoteproc Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
reset firmware: scmi: use scmi_proto_driver_get() function to get SCMI protocol driver 2025-05-03 16:55:32 -03:00
rng rng: rockchip: Add support for rkrng variant 2025-04-23 22:12:04 +08:00
rtc rtc: emul_rtc: Make emul_rtc_probe() static 2025-02-10 10:29:10 -06:00
scsi drivers: scsi: Add 'erase' support 2025-04-10 20:55:53 -06:00
serial serial: Setup default base and frequency for Versal platforms 2025-04-16 13:42:06 +02:00
sm
smem
soc soc: Add information to identify the J742S2 SoC family 2025-04-03 11:37:46 -06:00
sound
spi spi: fspi: dev_dbg() call assumes fdt_addr_t always a long long 2025-05-12 18:42:53 -03:00
spmi spmi: msm: correctly handle multiple mapping entries 2025-04-10 15:43:10 +02:00
sysinfo sysinfo: Add driver for IOT2050 boards 2025-02-28 08:41:54 -06:00
sysreset sysreset: implement MAX9807 sysreset functions 2025-05-08 08:30:53 +03:00
tee
thermal
timer Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
tpm tpm: cr50: Support opening the TPM multiple times 2025-04-14 22:59:01 +03:00
ufs ufs: amd-versal2: Use raw read/write for SLCR/CACHE registers 2025-04-16 13:42:06 +02:00
usb usb: gadget: musb: Fix duplicate ops assignment in ti_musb_peripheral 2025-06-16 09:00:55 +02:00
video video: backlight: add Skyworks/Analogictech AAT2870 led controller driver 2025-05-08 08:30:53 +03:00
virtio
w1
w1-eeprom
watchdog watchdog: sunxi: add A523 support 2025-04-28 12:45:44 -06:00
xen
Kconfig
Makefile Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00