From nobody Fri Dec 19 09:51:19 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 1E48720F1 for ; Sun, 17 Dec 2023 10:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XEpsZzyG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702807670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5CR/3Io6mktEEwQ1LHj5L/2zpZ/H1ugjG/amm876pBg=; b=XEpsZzyG8LZUnUt2PaxQ1AmflgzJ1Fm+ekQv1RB3o9uNDx/0te+jMGnhcNqEFFrQVilwbg egeYyRW4HR2MmoCqlW7dOKOHRNiny+nns6WeSQfgzGsSu2Htosl1ACBivWG1OrQEqf25sJ dofgof93LuEskXu6EPUmYtUf0iSVArU= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-650-l5Fru9RRPcSbAaWbWpxh4g-1; Sun, 17 Dec 2023 05:07:49 -0500 X-MC-Unique: l5Fru9RRPcSbAaWbWpxh4g-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40c42205ed0so18251465e9.2 for ; Sun, 17 Dec 2023 02:07:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702807667; x=1703412467; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5CR/3Io6mktEEwQ1LHj5L/2zpZ/H1ugjG/amm876pBg=; b=QmZmSl/D89f1cP7drutqBX11XC8m4ZqyB6XVERkgA4q7I2L3nt7e9iyN2i0RLqrDfr ksMAuUIPrdPnlOG4ZoK9hnFxmJUslnsUmrKPIIXG1RWSNH6gqwCK7/7UTnbGglSgTTPQ xn0nE8ICgFBwrzhE+ntAbwDZdg2WDCuY0iqJCn8vvau/Br+puA00Kum4vAArT3eTH+7M le9hyjlM1qR3am5+uz8IqoOZg0iAfT+UYTexiTIooN9+T4HwmEpz/DBV8LK5AnCvvNqK JLkaIHKIO/ObrsOR1yxa9CK3EzeB1GduE9SKvU+3mZGBrUCY5zkSyjVQU1X+mp8XocBa aY2w== X-Gm-Message-State: AOJu0YxELjNOd3lRX1kPgQ0MT6PDtQV4b29lpZda8F88yzxSF40cdstn o2RSpcb7dDEJmPmCr63URrQlauFGq3zeoT2Xq8Qu5kX4VKafmFPunZrJKgrOFZ6cdn5gbxd8o0H 6V9SgpHQaKkm2aXDN62urA44yEnRhxNKSW/DnihGmHxpIjlV3jDwqIe2MfGAKc/kjXsGBGptMM8 KJviw39oU= X-Received: by 2002:a05:600c:1393:b0:40c:4d80:f51a with SMTP id u19-20020a05600c139300b0040c4d80f51amr5305204wmf.96.1702807667330; Sun, 17 Dec 2023 02:07:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEE2m3De7Sb1SGXY0KWt6mw+tIKeqFVO7iugFjDU9Je+2Tz6raBuqH1rDzvjUAl9KyCVMPenQ== X-Received: by 2002:a05:600c:1393:b0:40c:4d80:f51a with SMTP id u19-20020a05600c139300b0040c4d80f51amr5305183wmf.96.1702807666944; Sun, 17 Dec 2023 02:07:46 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id h2-20020a05600c350200b0040c44b4a282sm29099420wmq.43.2023.12.17.02.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 02:07:45 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Maxime Ripard , Thomas Zimmermann , Conor Dooley , Rob Herring , Peter Robinson , Geert Uytterhoeven , Javier Martinez Canillas , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maarten Lankhorst , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] dt-bindings: display: Add SSD133x OLED controllers Date: Sun, 17 Dec 2023 11:07:03 +0100 Message-ID: <20231217100741.1943932-2-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231217100741.1943932-1-javierm@redhat.com> References: <20231217100741.1943932-1-javierm@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a Device Tree binding schema for the OLED panels based on the Solomon SSD133x family of controllers. Signed-off-by: Javier Martinez Canillas --- .../bindings/display/solomon,ssd133x.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd13= 3x.yaml diff --git a/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml= b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml new file mode 100644 index 000000000000..eee8d8c9ca35 --- /dev/null +++ b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml @@ -0,0 +1,63 @@ +# 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# + + - if: + properties: + compatible: + contains: + const: solomon,ssd1331 + then: + properties: + width: + default: 96 + height: + default: 64 + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + oled@3c { + compatible =3D "solomon,ssd1331"; + reg =3D <0x3c>; + reset-gpios =3D <&gpio2 7>; + }; + + }; + - | + spi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + oled@0 { + compatible =3D "solomon,ssd1331"; + reg =3D <0x0>; + reset-gpios =3D <&gpio2 7>; + dc-gpios =3D <&gpio2 8>; + spi-max-frequency =3D <10000000>; + }; + }; --=20 2.43.0