lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11b9d3a6-74c0-6375-002b-ae5d2b69122d@roeck-us.net>
Date:   Mon, 18 Apr 2022 17:31:34 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Michael Walle <michael@...le.cc>, Jean Delvare <jdelvare@...e.com>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>
Cc:     linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 0/4] hwmon: add lan9668 driver

On 4/18/22 10:44, Michael Walle wrote:
> Hi,
> 
> Am 2022-04-01 23:40, schrieb Michael Walle:
>> Add a temperature and fan controller driver for the Microchip LAN9668 SoC.
>>
>> The temperature sensor uses a polynomial to calculate the actual
>> temperature. Fortunately, the bt1-pvt already has such a calculation.
>> It seems that the LAN9668 uses the same Analog Bits sensor as the
>> BT1 although with a different characteristic. To be able to reuse the
>> code move it to lib/ as it seems pretty generic to calculate any
>> polynomial using integers only, which might also be used by other parts
>> of the kernel. Another option might be to move the code to hwmon-poly.c,
>> I'm not sure. Thoughts?
>>
>> I also plan on submitting patches to add temperature sensor support for
>> the GPYxxx and LAN8814 PHYs which also use polynomial_calc().
>>
>> The last two patches adds the actual driver and the dt-binding for it.
>>
>> changes since v3:
>>  - validate input frequency in lan966x_hwmon_write_pwm_freq()
>>  - enable sensor before registering hwmon device
>>  - automatically disable sensor when driver is removed
>>  - set the required clock devider in case someone changed the
>>    hardware default before the driver is loaded
>>  - remove extra empty lines
>>
>> changes since v2:
>>  - strip unwanted copy pasta.. oops
>>  - use "select REGMAP" instead of "depends on"
>>
>> changes since v1:
>>  - add doc string to polynomial_calc(), moved the comment
>>    into the function.
>>  - add missing "select POLYNOMIAL" to the bt1_pvt driver
>>    Kconfig symbol
>>  - add hwmon driver documentation
>>  - cache sys_clk rate during probe
>>  - add missing ERR_CAST()
>>  - adapted comment for the PPS->RPM calculation
>>  - add temporary variable in lan966x_hwmon_read_pwm_freq()
>>
>> Michael Walle (4):
>>   lib: add generic polynomial calculation
>>   hwmon: (bt1-pvt) use generic polynomial functions
>>   dt-bindings: hwmon: add Microchip LAN966x bindings
>>   hwmon: add driver for the Microchip LAN966x SoC
> 
> Any news here? Or did I miss anything?
> 
> -michael


Just way behind with everything

Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ