Re: [RFC PATCH 0/3] iio: proximity: Add Cytron HC-SR04 support
From: Andy Shevchenko
Date: Thu Jul 16 2026 - 14:39:55 EST
On Thu, Jul 16, 2026 at 07:35:53PM +0200, Paweł Wiśniewski wrote:
> Add Device Tree binding and driver match support for the Cytron
> HC-SR04 ultrasonic distance sensor.
>
> The HC-SR04 uses separate trigger and echo GPIOs. A trigger pulse of
> at least 10 us starts a measurement, and the echo pulse width reports
> the ultrasonic round-trip time. This matches the protocol already
> implemented by the SRF04 IIO driver.
>
> The series adds the Cytron vendor prefix, documents the
> cytron,hc-sr04 compatible, and uses the existing SRF04 configuration
> in the driver.
>
> The Cytron vendor attribution is based on the HC-SR04 Product User's
> Manual V1.0 supplied by the retailer. The manual was prepared by
> Cytron Technologies Sdn. Bhd. and contains Cytron warranty and
> support information.
> This is sent as an RFC because the vendor attribution and compatible
> name should be reviewed.
But it's normal process, no? In any case the code in the driver is fine.
--
With Best Regards,
Andy Shevchenko