950-1194-media-dt-bindings-i2c-Add-Rohm-BU64754-bindings.patch 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. From 31c2999e543c245f7b96af3e73cd18e1036bfe7b Mon Sep 17 00:00:00 2001
  2. From: Kieran Bingham <[email protected]>
  3. Date: Thu, 14 Sep 2023 17:03:24 +0100
  4. Subject: [PATCH] media: dt-bindings: i2c: Add Rohm BU64754 bindings
  5. Add YAML device tree bindings for the ROHM BU64754 VCM Motor Driver for
  6. Camera Autofocus.
  7. Signed-off-by: Kieran Bingham <[email protected]>
  8. Signed-off-by: Jacopo Mondi <[email protected]>
  9. ---
  10. .../bindings/media/i2c/rohm,bu64754.yaml | 48 +++++++++++++++++++
  11. MAINTAINERS | 7 +++
  12. 2 files changed, 55 insertions(+)
  13. create mode 100644 Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
  14. --- /dev/null
  15. +++ b/Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
  16. @@ -0,0 +1,48 @@
  17. +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  18. +# Copyright (C) 2023 Ideas on Board Oy.
  19. +%YAML 1.2
  20. +---
  21. +$id: http://devicetree.org/schemas/media/i2c/rohm,bu64754.yaml#
  22. +$schema: http://devicetree.org/meta-schemas/core.yaml#
  23. +
  24. +title: ROHM BU64754 Actuator Driver for Camera Autofocus
  25. +
  26. +maintainers:
  27. + - Kieran Bingham <[email protected]>
  28. +
  29. +description: |
  30. + The BU64754GWZ is an actuator driver IC which can control the actuator
  31. + position precisely using an internal Hall Sensor.
  32. +
  33. +properties:
  34. + compatible:
  35. + items:
  36. + - enum:
  37. + - rohm,bu64754
  38. +
  39. + reg:
  40. + maxItems: 1
  41. +
  42. + vdd-supply:
  43. + description:
  44. + Definition of the regulator used as VDD power supply to the driver.
  45. +
  46. +required:
  47. + - compatible
  48. + - reg
  49. +
  50. +additionalProperties: false
  51. +
  52. +examples:
  53. + - |
  54. + i2c {
  55. + #address-cells = <1>;
  56. + #size-cells = <0>;
  57. +
  58. + lens@76 {
  59. + compatible = "rohm,bu64754";
  60. + reg = <0x76>;
  61. + vdd-supply = <&cam1_reg>;
  62. + };
  63. + };
  64. +...
  65. --- a/MAINTAINERS
  66. +++ b/MAINTAINERS
  67. @@ -17904,6 +17904,13 @@ S: Maintained
  68. F: Documentation/devicetree/bindings/iio/light/bh1750.yaml
  69. F: drivers/iio/light/bh1750.c
  70. +ROHM BU64754 MOTOR DRIVER FOR CAMERA AUTOFOCUS
  71. +M: Kieran Bingham <[email protected]>
  72. +L: [email protected]
  73. +S: Maintained
  74. +T: git git://linuxtv.org/media_tree.git
  75. +F: Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
  76. +
  77. ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS
  78. M: Marek Vasut <[email protected]>
  79. L: [email protected]