summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2025-07-04 22:44:32 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-07-07 23:14:26 +0200
commit447270cdb41b1c8c3621bb14b93a6749f942556e (patch)
tree72a1d6afed97016e062897126d97b12e8f08741e /scripts/lib
parent4f5ee6405f8bde3d8c037531e0c57be5cd32de3d (diff)
i3c: don't fail if GETHDRCAP is unsupported
'I3C_BCR_HDR_CAP' is still spec v1.0 and has been renamed to 'advanced capabilities' in v1.1 onwards. The ST pressure sensor LPS22DF does not have HDR, but has the 'advanced cap' bit set. The core still wants to get additional information using the CCC 'GETHDRCAP' (or GETCAPS in v1.1 onwards). Not all controllers support this CCC and will notify the upper layers about it. For instantiating the device, we can ignore this unsupported CCC as standard communication will work. Without this patch, the device will not be instantiated at all. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250704204524.6124-1-wsa+renesas@sang-engineering.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions