Message ID | 20250422213137.80366-16-danila@jiaxyga.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
On 22/04/2025 23:31, Danila Tikhonov wrote: > This panel is used in Google Pixel 4a (google,sunfish). Document the > corresponding string. > > Signed-off-by: Danila Tikhonov <danila@jiaxyga.com> > --- > .../bindings/display/panel/samsung,ams581vf01.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml > index 70dff9c0ef2b..a3a1de32d8be 100644 > --- a/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml > +++ b/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml > @@ -17,7 +17,13 @@ allOf: > > properties: > compatible: > - const: samsung,ams581vf01 > + oneOf: > + - enum: > + - samsung,ams581vf01 > + - items: > + - enum: > + - google,ams581vf01-sunfish > + - const: samsung,ams581vf01 Why do you introduce a new compatible ? using samsung,ams581vf01 is prefectly fine if it's same panel. Neil > > reg: > maxItems: 1
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml index 70dff9c0ef2b..a3a1de32d8be 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml +++ b/Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml @@ -17,7 +17,13 @@ allOf: properties: compatible: - const: samsung,ams581vf01 + oneOf: + - enum: + - samsung,ams581vf01 + - items: + - enum: + - google,ams581vf01-sunfish + - const: samsung,ams581vf01 reg: maxItems: 1
This panel is used in Google Pixel 4a (google,sunfish). Document the corresponding string. Signed-off-by: Danila Tikhonov <danila@jiaxyga.com> --- .../bindings/display/panel/samsung,ams581vf01.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)