From patchwork Fri Dec 22 10:01:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 757574 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 A49C1FBE5 for ; Fri, 22 Dec 2023 10:01:57 +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="Z++2mXrt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703239316; 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=1KrXB2l1sK5WNrgL14b/nrn7vl1GLfrzGJcKXH5lPKk=; b=Z++2mXrtpULDCQNHQ1WVXoug4WljLqGHbU4bRtxKwqiygE/A6PmUKA/m6EsJ6tWpFoLExk 90dRwwxO6ZG1sPlpbflon2ZePqgq1wI2e4S8bWJmEcWv7s8WMaVLHDwImDp5UxkZwRWWZN sezP4pY1RSK47P9Pai7APCFTPDujuAA= 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-618-8aoquI-iOcyZux_92ofDtw-1; Fri, 22 Dec 2023 05:01:55 -0500 X-MC-Unique: 8aoquI-iOcyZux_92ofDtw-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40d45be1ce2so1986155e9.1 for ; Fri, 22 Dec 2023 02:01:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703239314; x=1703844114; 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=1KrXB2l1sK5WNrgL14b/nrn7vl1GLfrzGJcKXH5lPKk=; b=vH3nK4j89QFRS7piNyi46Nv8EAiwd299RgbmFewxwk7wJRcXuWSXs05CNwV2AOZGri VFWH//ASIqGu2sb5D+Zvtn+q6fWJZJHpnuR9kRsQh7MYHl31ztDraV9PkFtI/ZExHtLZ HmS8Xed7+oK7SdOD5aQzrCPbYsO6L6sAziYgKp3syQ17lFXHVpsmgut0iJhoJpTYkWlM nL7S/wgHs3n+SlzuT1d5JWnva2izF60S1kYDiiZBOMB9VvTscqhXipOQVi9QAT0TY72v HOEotsPWJpw7Xj9xe1I+bsME6FPNUgwGqRoVAUbWvs33KWb6zTGrK8COnMo5+E3rGk+e Wimw== X-Gm-Message-State: AOJu0Yyaio/y9wHmgBiaiWrNL635k0W6+OZNNwEa2+ONtBDK0aX8XPTm 82yFm8mUbh3VpyB9rYNxa3K3yhU0YwvH5XLWNTyC3DnmcNWUAvyEJwlX0SvkkAaVXbYVE2Em8AQ E+IZl+Co6XzcnH57SYZENYJp12TVtfA== X-Received: by 2002:a05:600c:3516:b0:40c:69ac:bbe3 with SMTP id h22-20020a05600c351600b0040c69acbbe3mr560826wmq.151.1703239314154; Fri, 22 Dec 2023 02:01:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9cdk7GcDcHXW+tJWxQX97Hy6R4J0/6Wgjy0y5eLHmsXkFwLAr+yP0CIsp2UB1gvczU2KRrw== X-Received: by 2002:a05:600c:3516:b0:40c:69ac:bbe3 with SMTP id h22-20020a05600c351600b0040c69acbbe3mr560817wmq.151.1703239313866; Fri, 22 Dec 2023 02:01:53 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id j16-20020a05600c191000b0040c11fbe581sm6426861wmq.27.2023.12.22.02.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:01:52 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Maxime Ripard , Jocelyn Falempe , Peter Robinson , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Conor Dooley , Thomas Zimmermann , 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 v4 1/4] dt-bindings: display: ssd1307fb: Add vendor prefix to width and height Date: Fri, 22 Dec 2023 11:01:38 +0100 Message-ID: <20231222100149.2641687-2-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222100149.2641687-1-javierm@redhat.com> References: <20231222100149.2641687-1-javierm@redhat.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The commit 591825fba8a2 ("dt-bindings: display: ssd1307fb: Remove default width and height values") used the wrong properties for width and height, instead of the correct "solomon,width" and "solomon,height" properties. Fix this by adding the vendor prefix to the width and height properties. Fixes: 591825fba8a2 ("dt-bindings: display: ssd1307fb: Remove default width and height values") Reported-by: Conor Dooley Closes: https://lore.kernel.org/dri-devel/20231218-example-envision-b41ca8efa251@spud/ Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring --- (no changes since v1) .../bindings/display/solomon,ssd1307fb.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml index 3afbb52d1b7f..153ff86fb405 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml @@ -131,9 +131,9 @@ allOf: const: sinowealth,sh1106 then: properties: - width: + solomon,width: default: 132 - height: + solomon,height: default: 64 solomon,dclk-div: default: 1 @@ -149,9 +149,9 @@ allOf: - solomon,ssd1305 then: properties: - width: + solomon,width: default: 132 - height: + solomon,height: default: 64 solomon,dclk-div: default: 1 @@ -167,9 +167,9 @@ allOf: - solomon,ssd1306 then: properties: - width: + solomon,width: default: 128 - height: + solomon,height: default: 64 solomon,dclk-div: default: 1 @@ -185,9 +185,9 @@ allOf: - solomon,ssd1307 then: properties: - width: + solomon,width: default: 128 - height: + solomon,height: default: 39 solomon,dclk-div: default: 2 @@ -205,9 +205,9 @@ allOf: - solomon,ssd1309 then: properties: - width: + solomon,width: default: 128 - height: + solomon,height: default: 64 solomon,dclk-div: default: 1 From patchwork Fri Dec 22 10:01:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 757933 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 AEAAD11719 for ; Fri, 22 Dec 2023 10:02:00 +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="EqWiktHb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703239319; 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=LGLVCef4QzbvTALYo2ea2BIkPY+CGFifWhpyQpWq1Uc=; b=EqWiktHbitdYKzzKQUnoML8fCcvLl07L2++ZQNsdoUiwbTYXB5Y8w97+lxKWPMDeXQwB2j ENMb9k2rgHTDUaD8+v63RvCow0dBZyYXU/wFjLJBlz/NJzvVOlE/PMaqGa5dNEzA4kOULs wrbgdeOR0m1qPktYchcHio7Vw1etJt4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-634-qrmUq_T6M_uI56R1TallGw-1; Fri, 22 Dec 2023 05:01:57 -0500 X-MC-Unique: qrmUq_T6M_uI56R1TallGw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-40d3b4606b3so12127975e9.2 for ; Fri, 22 Dec 2023 02:01:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703239316; x=1703844116; 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=LGLVCef4QzbvTALYo2ea2BIkPY+CGFifWhpyQpWq1Uc=; b=eY+JewqwYiptZHdimI5GQWSDILg57l5y2akOSqRvX+PrvRl5F+dwm7RvtUPEDvbEUe bl8F9BLTw1ilbimgOhvNZLpjLLXBzfyYAgxyk4EgAq8vSR1kjwjSeg3DCgutCoGlwHdQ P9iaZxExO/+O4oRLo6TaTZXF2VxGi1G0Eg96+dYiQZ1tysgpelhN9JGNXD3Mp4lJlFkY zAcF8yIIgFV9ZG+2lq87TK7j2e458YNCokcF8zQFM8fHaIB7OHtlwO+dc24iFXLwnDiZ dEDTCa0Zkt+UpmCu+ESGsuQC60ZKlRinndnhCnqOBJvsb2jrF4w/cHLJ7Aw1L9QrZRo1 sLRA== X-Gm-Message-State: AOJu0YxSnKK6NOGI5uLgQMSmK2yQfC26fZV6Hwh8i2xJxFnOAfDm/Smn mlaS3iAeY0hAndWn3CsCNemYyVL70lqDXGrqxExejeKVDI1ypLrq4IBWRIs2B/3+qNHDBL9/PN9 9+iFt7BdO0ltHlW3Ee+LyLrDKz+iuuQ== X-Received: by 2002:a05:600c:4707:b0:40d:30c9:2c0a with SMTP id v7-20020a05600c470700b0040d30c92c0amr579436wmo.115.1703239316309; Fri, 22 Dec 2023 02:01:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3RPkPItpbxaMZzXzGJcG1N9FtcaSFzT+abGEsinJLJmdympQDNt+Rajm9hzaq7pPTWoOcOg== X-Received: by 2002:a05:600c:4707:b0:40d:30c9:2c0a with SMTP id v7-20020a05600c470700b0040d30c92c0amr579416wmo.115.1703239316021; Fri, 22 Dec 2023 02:01:56 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id p20-20020a05600c359400b0040d3ae032b3sm6811470wmq.9.2023.12.22.02.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:01:54 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Maxime Ripard , Jocelyn Falempe , Peter Robinson , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Conor Dooley , Thomas Zimmermann , 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 v4 2/4] dt-bindings: display: ssd132x: Add vendor prefix to width and height Date: Fri, 22 Dec 2023 11:01:39 +0100 Message-ID: <20231222100149.2641687-3-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222100149.2641687-1-javierm@redhat.com> References: <20231222100149.2641687-1-javierm@redhat.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Commit 2d23e7d6bacb ("dt-bindings: display: Add SSD132x OLED controllers") used the wrong properties for width and height, instead of the correct "solomon,width" and "solomon,height" properties. Fix this by adding the vendor prefix to the width and height properties. Fixes: 2d23e7d6bacb ("dt-bindings: display: Add SSD132x OLED controllers") Reported-by: Conor Dooley Closes: https://lore.kernel.org/dri-devel/20231218-example-envision-b41ca8efa251@spud/ Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring --- (no changes since v1) .../devicetree/bindings/display/solomon,ssd132x.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml index 37975ee61c5a..dd7939989cf4 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml @@ -30,9 +30,9 @@ allOf: const: solomon,ssd1322 then: properties: - width: + solomon,width: default: 480 - height: + solomon,height: default: 128 - if: @@ -42,9 +42,9 @@ allOf: const: solomon,ssd1325 then: properties: - width: + solomon,width: default: 128 - height: + solomon,height: default: 80 - if: @@ -54,9 +54,9 @@ allOf: const: solomon,ssd1327 then: properties: - width: + solomon,width: default: 128 - height: + solomon,height: default: 128 unevaluatedProperties: false From patchwork Fri Dec 22 10:01:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 757573 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 8341A156D3 for ; Fri, 22 Dec 2023 10:02:02 +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="Et5OVEtF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703239321; 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=L4FSS8B/TyNttrAPDKVxxrfugLFfEOoGgW3LT/2ICJc=; b=Et5OVEtFLt3Nq/AdalQZr2pax1thg2ANgZ6FkE2nkHSq/tW/LE5h3PEfQsFsJAdnIlEexK Hm+miv97X23zp6SASxM9+stROJV0QClEerzivn2Ne+IgKnEWzIYzS4mzD93jt2iwQh3wq0 TNfxC/jVGgWf8IvbWCQ8cBSqiWbNnTI= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-225-eCphLhANOnyvp6mvrF2j3Q-1; Fri, 22 Dec 2023 05:01:59 -0500 X-MC-Unique: eCphLhANOnyvp6mvrF2j3Q-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-33689c90957so970105f8f.2 for ; Fri, 22 Dec 2023 02:01:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703239318; x=1703844118; 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=L4FSS8B/TyNttrAPDKVxxrfugLFfEOoGgW3LT/2ICJc=; b=aq1WvUJY5PGPqMMxeCW1z9J69RC5qme/yaOvYmlchhaP5Q+w+4i5sgN85d9Wj4+ooQ yHIN5UktXl9Xdypt9C2YNyWkaGj/DtIjcrWEAJfAr95g7D+Ojn1HUgla1xSxqOE3a3PB AYo+3z55DilwhcBVf91rUGEkY0+kzHAuuufJ4ZUeCU/I7WMOpU2FMrmEmGxvWJxrFyHR /n3yFklGDhP5KJ/WLgJWDQ7VfRt6/eEoC4g2+mhh4tBhi6htxQjArM4v/exyazYqG+sJ 7nEOisGfUEXnI/KhHJD7jMyzOPLO2NWcTh+TO4lWE0lMtvxkd9GBdn7fcQcg93mn9oSZ 3gpQ== X-Gm-Message-State: AOJu0YycTle6xZ92qPOyCYDy+nR8MC7B2iXWGwF3bJ/Zs3DG/M1sKsjM 5Z50OH488M9nnYNlcaIK+F2T6+Yd4GtWswz4MNzw0xB6O/3EITUn5/WtQUSOzUBYGuFGwYyvPJ7 xP3dIxs7S8RHodbmLtWwGwp4DW8srTw== X-Received: by 2002:a5d:4351:0:b0:336:7357:a9f9 with SMTP id u17-20020a5d4351000000b003367357a9f9mr609039wrr.83.1703239318510; Fri, 22 Dec 2023 02:01:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsZNdU6Ak/y/62OAv0NofaXq3Tb9KBXRWL0RjpFZICnql7RgbmU8gyoAOcGlYZ24PvkGjvFQ== X-Received: by 2002:a5d:4351:0:b0:336:7357:a9f9 with SMTP id u17-20020a5d4351000000b003367357a9f9mr609036wrr.83.1703239318274; Fri, 22 Dec 2023 02:01:58 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id t16-20020adfe450000000b0033666ec47b7sm3883026wrm.99.2023.12.22.02.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:01:57 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Maxime Ripard , Jocelyn Falempe , Peter Robinson , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Conor Dooley , Thomas Zimmermann , 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 v4 3/4] dt-bindings: display: Add SSD133x OLED controllers Date: Fri, 22 Dec 2023 11:01:40 +0100 Message-ID: <20231222100149.2641687-4-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222100149.2641687-1-javierm@redhat.com> References: <20231222100149.2641687-1-javierm@redhat.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- (no changes since v3) 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 | 57 +++++++++++++++++++ 1 file changed, 57 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..e93879b3da5d --- /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 + +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: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + oled@3c { + compatible = "solomon,ssd1331"; + reg = <0x3c>; + reset-gpios = <&gpio2 7>; + }; + + }; + - | + 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>; + }; + };