Unverified Commit 9ebc914a authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: ES8389: Add some members and update

Merge series from Zhang Yi <zhangyi@everest-semi.com>:

To improve the codec's performance, add members related to power and version,
and modify the configuration.
parents c7ac7499 4c5e6d5b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -30,10 +30,20 @@ properties:
  "#sound-dai-cells":
    const: 0

  vdda-supply:
    description:
      Analogue power supply.

  vddd-supply:
    description:
      Interface power supply.

required:
  - compatible
  - reg
  - "#sound-dai-cells"
  - vddd-supply
  - vdda-supply

additionalProperties: false

@@ -46,5 +56,7 @@ examples:
        compatible = "everest,es8389";
        reg = <0x10>;
        #sound-dai-cells = <0>;
        vddd-supply = <&vdd3v3>;
        vdda-supply = <&vdd3v3>;
      };
    };
+160 −86

File changed.

Preview size limit exceeded, changes collapsed.

+8 −0
Original line number Diff line number Diff line
@@ -137,4 +137,12 @@
#define ES8389_STATE_ON               (13 << 0)
#define ES8389_STATE_STANDBY          (7 << 0)

enum ES8389_supplies {
	ES8389_SUPPLY_VD = 0,
	ES8389_SUPPLY_VA,
};

#define ES8389_3V3  1
#define ES8389_1V8  0

#endif