Re: [PATCH 2/2] ASoC: cs35l45: Adds support for SYNC bus
From: Ricardo Rivera-Matos
Date: Thu Aug 13 2026 - 10:18:57 EST
On 8/12/26 1:03 PM, Mark Brown wrote:
On Tue, Aug 11, 2026 at 05:06:03PM +0000, Ricardo Rivera-Matos wrote:
Adds support for the multidevice synchronization (SYNC) bus.
The SYNC bus is an opaque one wire bus that is shared between
Cirrus devices. Initial support only includes software (SW)
data packets.
+ ret = of_property_read_u32(child, "sync-lsw-txid", &val);
+ if (!ret)
+ regmap_update_bits(cs35l45->regmap, CS35L45_SYNC_SW_TX_ID,
+ CS35L45_SYNC_LSW_TXID_MASK, val << CS35L45_SYNC_LSW_TXID_SHIFT);
+
+ ret = of_property_read_u32(child, "sync-sw-txid", &val);
+ if (!ret)
+ regmap_update_bits(cs35l45->regmap, CS35L45_SYNC_SW_TX_ID,
+ CS35L45_SYNC_SW_TXID_MASK, val);
These are namespace cirrus, in the binding.
ACK. The binding is correct, the driver and my test dtb are stale. This will get fixed in v2.