summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorVincent Jardin <vjardin@free.fr>2026-08-24 23:25:30 +0200
committerFrank Li <Frank.Li@nxp.com>2026-09-02 15:22:10 -0400
commit6affdda171ca8f2e082e8c4fba56233a2f8c9910 (patch)
tree0151da5b9d981d2831996b144cb5900be291faf7 /tools/lib/python/kdoc/python_version.py
parent8188a59dd6782786556b18f515090b79cb701c45 (diff)
downloadlinux-next-6affdda171ca8f2e082e8c4fba56233a2f8c9910.tar.gz
linux-next-6affdda171ca8f2e082e8c4fba56233a2f8c9910.zip
arm64: dts: lx2160a: fix IIC1 pinmux submask rejected by pinctrl-single
IIC1_PMUX is a single bit field at RCWSR14 bit 10, so the mask for the two iic1 pinmux nodes was narrowed from 0x7 to 0x1 to avoid writing the two reserved bits next to it. With pinctrl-single,bit-per-mux the driver does not take the supplied mask as the bits to modify. It derives the field from the node's pinctrl-single,function-mask, which is 0x7 here, and then requires the supplied mask to match it exactly: bit_pos = __ffs(mask); /* 10 */ mask_pos = ((pcs->fmask) << bit_pos); /* 0x7 << 10 = 0x1c00 */ submask = mask & mask_pos; /* 0x400 */ ... if (submask != mask_pos) { dev_warn(pcs->dev, "Invalid submask 0x%x for %pOFn at 0x%x\n", submask, np, offset); continue; } A one bit mask gives submask 0x400 against mask_pos 0x1c00, so both nodes are rejected and the pins are never muxed with this message: pinctrl-single 70010012c.pinmux: Invalid submask 0x400 for iic1-i2c-pins pinctrl-single 70010012c.pinmux: Invalid submask 0x400 for iic1-gpio-pins The values are not changed: - 0x0 selects IIC1 - 0x1 << 10 selects GPIO_1[3:2]. Fixes: 7a3cc49ad1fc ("arm64: dts: lx2160a: change i2c0 (iic1) pinmux mask to one bit") Signed-off-by: Vincent Jardin <vjardin@free.fr> Reviewed-by: Josua Mayer <josua@solid-run.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions