[PATCH 35/39] drm/bridge: fsl-ldb: Parse register offsets from DT

Marek Vasut marek.vasut at mailbox.org
Fri Oct 17 08:39:14 PDT 2025


On 10/13/25 9:23 PM, Frank Li wrote:

Hello Frank,

>> @@ -296,7 +290,7 @@ static int fsl_ldb_probe(struct platform_device *pdev)
>>   	struct device_node *remote1, *remote2;
>>   	struct drm_panel *panel;
>>   	struct fsl_ldb *fsl_ldb;
>> -	int dual_link;
>> +	int dual_link, idx, ret;
>>
>>   	fsl_ldb = devm_drm_bridge_alloc(dev, struct fsl_ldb, bridge, &funcs);
>>   	if (IS_ERR(fsl_ldb))
>> @@ -309,6 +303,22 @@ static int fsl_ldb_probe(struct platform_device *pdev)
>>   	fsl_ldb->dev = &pdev->dev;
>>   	fsl_ldb->bridge.of_node = dev->of_node;
>>
>> +	idx = of_property_match_string(dev->of_node, "reg-names", "ldb");
>> +	if (idx < 0)
>> +		return idx;
> 
> Does this broken compatiblity? If yes, need mention at commit message
Nope, it actually does not, because the binding document used for 
validation was correct and required these entries. So we can now safely 
parse them.



More information about the linux-arm-kernel mailing list