Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp292778rdb; Sat, 16 Dec 2023 08:27:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvzwFHbxRhqPoMRJWtq0KrnBbTDVzDwbXheqkH/qnJEEJaSloWHutc1LYD05+ulaerqoYE X-Received: by 2002:a17:903:2404:b0:1d3:68c7:78bc with SMTP id e4-20020a170903240400b001d368c778bcmr4472499plo.3.1702744050696; Sat, 16 Dec 2023 08:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702744050; cv=none; d=google.com; s=arc-20160816; b=YiMuiPstdlx1dRF+IlQANd7BK77m9gmRESwyICCGtzj2lw8CnyT4wr0SLOnt32gPg7 j/F+y8exFPlGea8Q+wVhRc0OEGJB8uMppG4KS7zD0pBGtDnwVyH7q3MRO4wk+xq43PAL isBmKQHKhT3fyM5eTRTUs/n8Sg3sRIAikjFABODw6/IepUb/dpLy/stZxZaph8y5n0P5 liCMgLiAUXS8WwyuJ+ByTY+EUbjYiJhAHOgsTiXj26OHvls0XmhsD+DhqF5t8u4MH9El VrR5BDcuDjfAaLRccBI0UE4hf3UjE0FwfjDVBvMuQvTp4WsZJ4sg6HMgtlHdlVRjqcKb qEhQ== 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=obq8YELyZEbke3rZFXNs+HxX85EVdqoEFqpud8UWY9A=; fh=nzMX5Jolb3GculGR3f1Z1ReHOqdNjcdazDY5R3X+7M0=; b=nq1oVhBj/y4aLlNEE5AVee2WoBDLKZvvyhy2SDMaxkolp7ggPNn7rHuCK+qB+1i8gH 0lHcaIRJLhLEImka0RrZTULZpz03yucrbf20W6YD4Kru3kbHBoNSGmyYL5/+r48rPLzO kcXLEIXxzWXp8MCAxORsP5mz2kBku2HWLnZPuxyNIMge1IrydHt8AXPRD6AaYGz7qcUq cFHcTcgolHGfouz/yUC/7NeI6SoY9eBZCLH+NDCTeXa/afWTxswBWV4VPtwBLrcnEbYV MfMECaT2UIltjaGjEcatCjOt+MUNpg5GKsPfWMR567X8Fd7QXJxNnYttmDZ+0kF6UyQQ o8tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=InjvMp1u; spf=pass (google.com: domain of linux-kernel+bounces-2249-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h6-20020a170902704600b001d36d944044si4389785plt.119.2023.12.16.08.27.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:27:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2249-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=InjvMp1u; spf=pass (google.com: domain of linux-kernel+bounces-2249-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 50CD12854DD for ; Sat, 16 Dec 2023 16:27:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A02730D10; Sat, 16 Dec 2023 16:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="InjvMp1u" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 425C930657; Sat, 16 Dec 2023 16:27:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40c6ea99429so12370485e9.3; Sat, 16 Dec 2023 08:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702744026; x=1703348826; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=obq8YELyZEbke3rZFXNs+HxX85EVdqoEFqpud8UWY9A=; b=InjvMp1uUR0NHOkuQAzAuWczkMefFNzt7gVR/8QLDdUggYFRsjrNxbhgeU8UQetO0x elrMGzoiOalbdSoqUqGlVrRrcJ/962Ky6GZl67a3CkQVSuHXQr5re/W1R1xt6eftm79N lstG6KDYfVhf7X/nSx1s4sqJzCPDq7A4ArtP7mnHLQbvmdB3ez9GLdeRrK9KaHEhZZUa KR45MptEyYnQrgC4cGxDD/kUfvwoHQEN8nltq1hdRou4/iScYh2Hpf2zHgLlhPNCUSRv BbFXhFObbPhl3Bl9TpUbdJJ8774Xg86k3oOb41kjx4OVFgsRTIEcfeAu7KhQ1G0kYrst JX7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744026; x=1703348826; 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=obq8YELyZEbke3rZFXNs+HxX85EVdqoEFqpud8UWY9A=; b=QrSqJe6fE0MWYLr08Tog8SK21BApy9G7Qqi3Sg0eFIOGeORuPWzihWu6I9uK+gEmo/ u4xxYU7JNNKRd39nU2Jd3YG1KZgPbcQPGM4SNQxtc2J1bICA7exuNAKRbBGx2ozHZEbC +GBEQd03KtIm1yG5+HWUrOjTmq3OpWW/BNGQ8wqmuV2z8ZXTJW1RTVFxi/eXOCvrp6Q4 lTNC1baXT5Jo4b+Oonu6ZKZ9zZfxWEmd/tg7YOOccJveTBwOpidltG66sWYFF985CAg2 BQmqeWTe6cxvbA9KCHVm6FcYibDeCPRH4vIbWZRKM3hjL+p5cjATphFo82iiDOzjhABN OrQA== X-Gm-Message-State: AOJu0YyCQz6tmPhfVnBX+ybEHQBxDHB+zu5hFzjNHe7cgBDlWbgsVixk gzl74yMeR9gztinGNtum8A== X-Received: by 2002:a7b:c4c7:0:b0:40c:6567:1d85 with SMTP id g7-20020a7bc4c7000000b0040c65671d85mr1569882wmk.232.1702744026333; Sat, 16 Dec 2023 08:27:06 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:e807:d345:6f47:1db9]) by smtp.gmail.com with ESMTPSA id st10-20020a170907c08a00b00a1cd0794696sm11990362ejc.53.2023.12.16.08.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:27:06 -0800 (PST) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Daniel Vetter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 01/27] dt-bindings: display: rockchip,inno-hdmi: Document RK3128 compatible Date: Sat, 16 Dec 2023 17:26:12 +0100 Message-ID: <20231216162639.125215-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231216162639.125215-1-knaerzche@gmail.com> References: <20231216162639.125215-1-knaerzche@gmail.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 The integration for this SoC is different from the currently existing: It needs it's PHY's reference clock rate to calculate the DDC bus frequency correctly. The controller is also part of a powerdomain, so this gets added as an mandatory property for this variant. Signed-off-by: Alex Bee --- changes in v2: - clarify that the controller itself is part of the powerdomain - simplify clock-names - made power-domains property only allowed (and required) for new variant .../display/rockchip/rockchip,inno-hdmi.yaml | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml index 96889c86849a..be78dcfa1c76 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml @@ -14,6 +14,7 @@ properties: compatible: enum: - rockchip,rk3036-inno-hdmi + - rockchip,rk3128-inno-hdmi reg: maxItems: 1 @@ -22,10 +23,19 @@ properties: maxItems: 1 clocks: - maxItems: 1 + minItems: 1 + items: + - description: The HDMI controller main clock + - description: The HDMI PHY reference clock clock-names: - const: pclk + minItems: 1 + items: + - const: pclk + - const: ref + + power-domains: + maxItems: 1 ports: $ref: /schemas/graph.yaml#/properties/ports @@ -55,6 +65,32 @@ required: - pinctrl-names - ports +allOf: + - if: + properties: + compatible: + contains: + const: rockchip,rk3036-inno-hdmi + + then: + properties: + power-domains: false + + - if: + properties: + compatible: + contains: + const: rockchip,rk3128-inno-hdmi + + then: + properties: + clocks: + minItems: 2 + clock-names: + minItems: 2 + required: + - power-domains + additionalProperties: false examples: -- 2.43.0