Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4477841rdb; Fri, 29 Dec 2023 03:21:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4BsyeABHf2KA84J8g61oqEij+ADgFww5Q1qs2KyKdBRZ2bQOz/3rmn5E08QeoL63r02CN X-Received: by 2002:a05:6870:148e:b0:203:ff07:2cbb with SMTP id k14-20020a056870148e00b00203ff072cbbmr13793549oab.42.1703848900565; Fri, 29 Dec 2023 03:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703848900; cv=none; d=google.com; s=arc-20160816; b=zOVKJ2Vno8KvJxiLWQHxxl3GPADOlnlDaoGY3C1FA7uWRTeq+zCKA88b69wxM1JBQu TLJpP44dSCNs2DjnP7q1QYM5dCuvTwUqCKJNkAqqUYE+Q/7b0tjSvPf+glVnNRGftqJw UDbPF/TZoNMLOJPZZVtqgk7Au1n/yHMfPUJ7YqSQlHl08epvKYWNzpAMn2Fm1oZ9W6xx ZF5ixb+AR6wXq7srHi0jQCusLGiwUyoo+gcmUmrGft7jYpOe3utC1j2D95YWlL91GqY/ LCDdh04amUMNw7wG+25hTvtUm6oD0BfBXOTWZFjax/+Ln0bk8v5qPtKxIKKYNYspUIFF rC+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lSLqHCf+PCh+kG7eprKkh+p3h0FyLiC3U9qCESwxHTc=; fh=Mu1HnY2UcA9BmcLO8GrVzAMlPO3B8AXeqScNjkurIsQ=; b=mJ9bLTSikPP2FkW7lpacmtUZmX95dq15UU91/m7RiJ0J9pHfnOUSzMScXN1MuiSD7y ImwNl1zVQ5ZHkr5qWcDBw47UO02CYPpck3u5tPdOan2yp4c39sbVdrwkq85g3q6CNJ0F 1ev3a3LjZG7AheBFsYUiZ+vfh0/xcKCFsYE7oyCz8ZFcjsuqpxgbSMGNF+/qrnVsON0k fkvBSHhwspZHC0JQGIaPMbDUXnz5zWClpE5o+Uo1pDYRaQr/HtpcSFrS+t8OArLhmuQx AqNOGGj09B+TLic788QMbphB+txMjv8c6fYPEUtKmXZqQ2JuiQ5fMAZh8WnKUxELfCaF 2lpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GEBiAZIF; spf=pass (google.com: domain of linux-kernel+bounces-13058-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13058-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bv192-20020a632ec9000000b005cd8938b10csi14249907pgb.631.2023.12.29.03.21.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 03:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13058-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GEBiAZIF; spf=pass (google.com: domain of linux-kernel+bounces-13058-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13058-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 427BEB226F9 for ; Fri, 29 Dec 2023 11:21:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9733911728; Fri, 29 Dec 2023 11:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GEBiAZIF" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 8933811710 for ; Fri, 29 Dec 2023 11:20:40 +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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703848839; 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=lSLqHCf+PCh+kG7eprKkh+p3h0FyLiC3U9qCESwxHTc=; b=GEBiAZIFQ6IWa5Z94sb54LpNcBMWF0d3zbpRASNy8QAegWWdDuy8T5eamcmZ8eS5+5dmW7 APBo2XjhcUT/0503YaSQTqumheRlG7QThuodwO+PxjsU5V7KtVlVOB7kAXmQH71VKpke8+ XzPBKzx0jriKD48+wXUulUsUMNVTRaY= 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-457-C5vwgMMTPm6YM_vQsCZg2A-1; Fri, 29 Dec 2023 06:20:38 -0500 X-MC-Unique: C5vwgMMTPm6YM_vQsCZg2A-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40d54db2ab5so45083685e9.2 for ; Fri, 29 Dec 2023 03:20:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703848836; x=1704453636; 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=lSLqHCf+PCh+kG7eprKkh+p3h0FyLiC3U9qCESwxHTc=; b=TXDFm8ZVQ7Q+Mti9TxfoeD9XeMlga/i2eQa/er6rb1iiq7p3lwxiMoNjYhTQOLD7Lu PpJ62UVbkQrSnz7xfcoi0vofLbIomg6GJdHSiQoOxNLPZ3unuSDzgTscX/nHq/TwUUPt rYCuAfNkmIUtt9UfvwX4BgsBCRyouWUSGQFHMuY1nrhpfCcwpM5C1PmEJHqP6ix5qZIc WiyGG8RsG5AgJTZAqPWhBgwyYc6YhlF/56Vf1RSKhyID9BE05rEdQs8PU17RIj09ppwI GVAigRFgilZBIiYMgcSlfH/L8JHLU9N/g1j4V30CGhDJowraIyoO4pp/JWKzT6g6XTDH wJkw== X-Gm-Message-State: AOJu0YwyV2jDq+Li66yoBfzSMj49On6FFvxMxomaM2hripK9366Ktcut AUSEehQHPMJpMeTKCppIguZe58J+VSA8WLNQRUgNRMm2kMbvEu35lY/lYzP5LllpKg3gsq2c+qW bFv4FprOWxnrm4khRojUAt3Q0c83dS9EaygrHLgPR3NdJhm4z0zlIbppZ9ecSNPvahyOZuB92tL tZXSrTdOCfgTtP9NI= X-Received: by 2002:a05:600c:4e47:b0:40d:593f:63e5 with SMTP id e7-20020a05600c4e4700b0040d593f63e5mr2848676wmq.7.1703848836427; Fri, 29 Dec 2023 03:20:36 -0800 (PST) X-Received: by 2002:a05:600c:4e47:b0:40d:593f:63e5 with SMTP id e7-20020a05600c4e4700b0040d593f63e5mr2848655wmq.7.1703848836196; Fri, 29 Dec 2023 03:20:36 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q11-20020a05600c46cb00b0040d2d33312csm30532067wmo.2.2023.12.29.03.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 03:20:35 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring , Thomas Zimmermann , Maxime Ripard , Geert Uytterhoeven , Jocelyn Falempe , Conor Dooley , Peter Robinson , 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 v5 3/4] dt-bindings: display: Add SSD133x OLED controllers Date: Fri, 29 Dec 2023 12:20:20 +0100 Message-ID: <20231229112026.2797483-4-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231229112026.2797483-1-javierm@redhat.com> References: <20231229112026.2797483-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: 8bit Add a Device Tree binding schema for the OLED panels based on the Solomon SSD133x family of controllers. Signed-off-by: Javier Martinez Canillas Reviewed-by: Rob Herring --- Changes in v5: - Drop I2C example in DT binding schema due that bus not being supported. Changes in v3: - Move solomon,ssd-common.yaml ref before the properties section and width/height constraints after the other properties (Conor Dooley). Changes in v2: - Unconditionally set the width and height constraints (Conor Dooley). - Fix indentation in the DTS examples (Krzysztof Kozlowski). .../bindings/display/solomon,ssd133x.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd133x.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..b7780038a34b --- /dev/null +++ b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml @@ -0,0 +1,45 @@ +# 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 + +allOf: + - $ref: solomon,ssd-common.yaml# + +properties: + compatible: + enum: + - solomon,ssd1331 + + solomon,width: + default: 96 + + solomon,height: + default: 64 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + oled@0 { + compatible = "solomon,ssd1331"; + reg = <0x0>; + reset-gpios = <&gpio2 7>; + dc-gpios = <&gpio2 8>; + spi-max-frequency = <10000000>; + }; + }; -- 2.43.0