Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp144838rdh; Mon, 18 Dec 2023 06:48:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCwhJ6HoDpIrsNJK6GMRSxCtsMB15GA3vrrh/sB6CbLVFPgdAf3Zyt+wK9LwZwM9T6gq0D X-Received: by 2002:a50:cc07:0:b0:54c:6d29:ce8d with SMTP id m7-20020a50cc07000000b0054c6d29ce8dmr7726308edi.2.1702910881596; Mon, 18 Dec 2023 06:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702910881; cv=none; d=google.com; s=arc-20160816; b=ppz+XnUJGYox/1OcOBYMkj2mTn2f+7Ry5DWrLfyQYDnym1krXwxsTyHNixiopI/8x6 WoWoZ71T867nkEhP2kUkbdpgiRI9QJq04aLdTNf4TSYOxw2tU9kZkdN2INpyhCVuSsSk U054zQXBzb7WXcLUFYeNr+rE4GdT0hstRx8E/ONa1p7fdVsXaxyn08sk2nsXcQwClxEJ XR/7d6Z7qk9hqxlHBCFIcnt7bNaWPF4hOvxaq0PN0mqhWTVbvFxFZIhMUb3GD8xVgvmg +v3kkmiFfgPGpRAIH9MVd2rDNPCdVLkLGIlvg6sJyLx1pNNis8OC4ZkH8A1CBOTFfuDu BPhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MzCffy8HVP5X7gTvoboZ+m1Q0YlyAGmzWzq90Cs2qSQ=; fh=NqReSdUsz9L7XL+M9DBd3WhuthnagAhiRGzYyBb/1Ic=; b=aqa5a2oOO7rAHgV+Szi7xb9OB2bblyJ08IPf1V3LJWXh8v0BL0VjyGzV3eEV/yWbSf 5fg17mGsgD1xUhY+6KIV/WeECb3tRtHZ+NEp/wVJgEowE27tKZry7f8MZIiOllxpkY+E ceEZQw9ZZKR6fPse1ePtdtobOl16B1rG+nwCOxAnzrJDX9FyoLN8SuSCCTv28t8Pa+rv +zzHeV3B5uWO9d4hKXE7SjStCZxNL1W+s13y6RNNIPIbuYP19nFYIgkOeo8LQZLlWhB1 nllt6fw3rQrYSZpYayJRbXjPT6DCd9mL37tULO1exwm9IEC//DeizY5CY6I1eCDcp996 Sgxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iXcytq6h; spf=pass (google.com: domain of linux-kernel+bounces-3861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v1-20020a056402348100b0054ccd70f20esi10405883edc.295.2023.12.18.06.48.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 06:48:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iXcytq6h; spf=pass (google.com: domain of linux-kernel+bounces-3861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4DED51F21370 for ; Mon, 18 Dec 2023 14:48:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3385C3787D; Mon, 18 Dec 2023 14:47:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iXcytq6h" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6017E200A4; Mon, 18 Dec 2023 14:47:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A16B1C433C8; Mon, 18 Dec 2023 14:47:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702910872; bh=1Ejc3DTMkoqF39XaGz2sEGxnABT4TjgOb+bh3SkctYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iXcytq6h9tCH/7HvVzZRCLC/z6pQGJLUIHrtngZCWYCOt54aLS9VexxGok7fLlRRd qB5H3/QFz1eytjNp0CEIcvpXUXg1TkqGVsYtJAzzw7espS8tqc0flDyu0fjgrLsYU1 qwjVDnglnEoVW7co7iMsIUVg4DSsFX9S3WHSL26SMG0HrOnfvB1CaOW6XZgM7xPRra ZXHqeoU6SZEAGYffZW6Yn1sHP24se3KJJq9Z2x84WSUhwvJjvmNCBVOH9/ID+AaFtO UnmHDBJJfsTNhxsNcWtoSrC7u5STsDsogDuXxu5zSq73N55LK9bElkoRotmyhKuA3a i4i38sM2MTf3A== Date: Mon, 18 Dec 2023 14:47:47 +0000 From: Conor Dooley To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Maxime Ripard , Jocelyn Falempe , Krzysztof Kozlowski , Geert Uytterhoeven , Thomas Zimmermann , Peter Robinson , Rob Herring , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maarten Lankhorst , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 1/2] dt-bindings: display: Add SSD133x OLED controllers Message-ID: <20231218-example-envision-b41ca8efa251@spud> References: <20231218132045.2066576-1-javierm@redhat.com> <20231218132045.2066576-2-javierm@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QqzxdS1EmQ01CbaQ" Content-Disposition: inline In-Reply-To: <20231218132045.2066576-2-javierm@redhat.com> --QqzxdS1EmQ01CbaQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 18, 2023 at 02:20:35PM +0100, Javier Martinez Canillas wrote: > Add a Device Tree binding schema for the OLED panels based on the > Solomon SSD133x family of controllers. >=20 > Signed-off-by: Javier Martinez Canillas > --- >=20 > Changes in v2: > - Unconditionally set the width and height constraints (Conor Dooley). > - Fix indentation in the DTS examples (Krzysztof Kozlowski). >=20 > .../bindings/display/solomon,ssd133x.yaml | 57 +++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd= 133x.yaml >=20 > diff --git a/Documentation/devicetree/bindings/display/solomon,ssd133x.ya= ml b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml > new file mode 100644 > index 000000000000..8feee9eef0fd > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Solomon SSD133x OLED Display Controllers > + > +maintainers: > + - Javier Martinez Canillas > + > +properties: > + compatible: > + enum: > + - solomon,ssd1331 > + > +required: > + - compatible > + - reg > + > +allOf: > + - $ref: solomon,ssd-common.yaml# > + > + - properties: > + width: > + default: 96 > + height: > + default: 64 diff --git a/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml= b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml index 8feee9eef0fd..ffc939c782eb 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml @@ -9,24 +9,24 @@ title: Solomon SSD133x OLED Display Controllers maintainers: - Javier Martinez Canillas =20 +allOf: + - $ref: solomon,ssd-common.yaml# + properties: compatible: enum: - solomon,ssd1331 =20 + width: + default: 96 + + height: + default: 64 + required: - compatible - reg =20 -allOf: - - $ref: solomon,ssd-common.yaml# - - - properties: - width: - default: 96 - height: - default: 64 - unevaluatedProperties: false =20 examples: The properties stuff doesn't need to be in the allOf. Although, I took the opportunity to look at ssd-common.yaml. How do the height/width here differ from the vendor prefixed versions in that file? --QqzxdS1EmQ01CbaQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZYBbgAAKCRB4tDGHoIJi 0nUWAP47tXmu50as8MLPe0wyFtLmpL2ScU7fl+agMnc8GU2sEwEAjVkZfObf4dO6 6QrCJ+/muSgOHjoVmG3AKNOOkz9xDAU= =YGWG -----END PGP SIGNATURE----- --QqzxdS1EmQ01CbaQ--