[PATCH 4/5] dt-bindings: iio: proximity: hx9023s: support firmware-name property

Yasin Lee posted 5 patches 1 day, 23 hours ago
[PATCH 4/5] dt-bindings: iio: proximity: hx9023s: support firmware-name property
Posted by Yasin Lee 1 day, 23 hours ago
Allow specifying the firmware file name via device tree.

Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
---
 Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
index 64ce8bc8bd36..7e516fc011c6 100644
--- a/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
@@ -28,6 +28,12 @@ properties:
 
   vdd-supply: true
 
+  firmware-name:
+    description:
+      Name of the firmware file to be requested by the driver using
+      the firmware loader interface.
+    maxItems: 1
+
   "#address-cells":
     const: 1
 
@@ -65,6 +71,7 @@ examples:
         interrupt-parent = <&pio>;
         interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
         vdd-supply = <&pp1800_prox>;
+        firmware-name = "hx9023s.bin";
 
         #address-cells = <1>;
         #size-cells = <0>;

-- 
2.43.0
Re: [PATCH 4/5] dt-bindings: iio: proximity: hx9023s: support firmware-name property
Posted by Krzysztof Kozlowski 1 day, 19 hours ago
On Mon, Feb 09, 2026 at 11:37:05AM +0800, Yasin Lee wrote:
> Allow specifying the firmware file name via device tree.

For what purpose? What's in the firmware?

> 
> Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
> ---
>  Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
> index 64ce8bc8bd36..7e516fc011c6 100644
> --- a/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
> +++ b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml
> @@ -28,6 +28,12 @@ properties:
>  
>    vdd-supply: true
>  
> +  firmware-name:
> +    description:
> +      Name of the firmware file to be requested by the driver using
> +      the firmware loader interface.

Drop description, obvious. It cannot be anything else.

Best regards,
Krzysztof