Skip to content

ROHM BU27034NUC to ROHM BU27034ANUC

Matti Vaittinen linux-devicetree linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 8 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Split the one large patch to patches 3 - 6 for easier review. (Please let me know if you wish me to squash them to one).
- Introduce new compatible for the BU27034ANUC and drop the old one.
- Add styling fixes as suggested by Jonathan
- Fix the lux calculation coefficient selection logic
link to v1:
https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: iio: BU27034 => BU27034ANUCDocumentation/devicetree/bindings/iio/light/rohm,bu27034.yaml+4 -53 replies
2/7dt-bindings: iio: rename bu27034 fileDocumentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml+1 -13 replies
3/7bu27034: ROHM BU27034NUC to BU27034ANUCdrivers/iio/light/rohm-bu27034.c+2 -30 replies
4/7bu27034: ROHM BU27034NUC to BU27034ANUC drop data2drivers/iio/light/rohm-bu27034.c+28 -1100 replies
5/7bu27034: ROHM BU27034ANUC correct gains and timesdrivers/iio/light/rohm-bu27034.c+9 -190 replies
6/7bu27034: ROHM BU27034ANUC correct lux calculationdrivers/iio/light/rohm-bu27034.c+31 -1260 replies
7/7iio: bu27034: Add a read only HWARDWAREGAINdrivers/iio/light/rohm-bu27034.c+14 -11 reply

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/7A-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] ROHM BU27034NUC to ROHM BU27034ANUC

As discussed here:
https://lore.kernel.org/all/[email protected]/

The ROHM BU27034NUC was cancelled before it entered mass-production. A replacement was developed and named to BU27034ANUC. (Note the added 'A' in the model name). The BU27034ANUC has several changes that make the old BU27034NUC driver unusable with it. I was told the old BU27034NUC should not be encountered anywhere.

Hence, this series converts the rohm-bu27034.c to support the new BU27034ANUC instead of the obsoleted BU27034NUC. Additionally, the series adds a read-only entry for the HARDWAREGAIN to help understanding what part of the scale is contributed by the gain, and what by the integration time. This is useful when figuring out why some transitions from one 'scale' to other are failing.

Revision history:
v1 => v2:
- Split the one large patch to patches 3 - 6 for easier review. (Please let me know if you wish me to squash them to one).
- Introduce new compatible for the BU27034ANUC and drop the old one.
- Add styling fixes as suggested by Jonathan
- Fix the lux calculation coefficient selection logic
link to v1:
https://lore.kernel.org/all/[email protected]/

---

Matti Vaittinen (7):
dt-bindings: iio: BU27034 => BU27034ANUC
dt-bindings: iio: rename bu27034 file
bu27034: ROHM BU27034NUC to BU27034ANUC
bu27034: ROHM BU27034NUC to BU27034ANUC drop data2
bu27034: ROHM BU27034ANUC correct gains and times
bu27034: ROHM BU27034ANUC correct lux calculation
iio: bu27034: Add a read only HWARDWAREGAIN

 ...ohm,bu27034.yaml => rohm,bu27034anuc.yaml} |  11 +-
 drivers/iio/light/rohm-bu27034.c              | 343 +++++-------------
 2 files changed, 89 insertions(+), 265 deletions(-)
 rename Documentation/devicetree/bindings/iio/light/{rohm,bu27034.yaml => rohm,bu27034anuc.yaml} (66%)

base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0

Signature · 14 lines
2.45.1


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]