Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4829190rdb; Fri, 29 Dec 2023 15:26:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgb6/Bdwhr304Pqu5kMGqKAis7ANN/XTqP+mBHWS4TRyx7CKBZtHpaexro1b3RjHyEAT4+ X-Received: by 2002:a05:622a:cb:b0:427:9dbf:8414 with SMTP id p11-20020a05622a00cb00b004279dbf8414mr18362545qtw.79.1703892414644; Fri, 29 Dec 2023 15:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703892414; cv=none; d=google.com; s=arc-20160816; b=W3wH+JVlII5pGWzOso8F+OFJwMuUJE7LLyP5CGn+RXrd3747AhVlz0gDQYaMqBLIfi x6iufyxokzi4Tm/00QBG73Lkm1mPOyaDrZ3DNImVZ8qDKPBU6JyrVdaF9mFekCjnwhMd zDaTVBgMF2Q/zXaWqsdMGzuaMPn4OPRBQh4mjc1MGOMXLhQtpQsVRXG+VMoIvzB3yf6N FXmgXuUzbYyLsnMw5T/6nsrYUHk5hFCycELsIrUbwW6ynWqknoGfJV6C1qf5Af/nOoC+ uw4zp72yYW6V6BNw5PeiMz8FreTOgXNzuKEMF0clgy2UdZnUmLDhtqdGkFv/EVGzA2Cy SrWQ== 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; bh=onXkrWEfM4f+oACXp0wLzAALbDGMbZ5cusBN7wk0zNI=; fh=MTaMCi4DQhgHOKfLYqI/Cy8Pxj+BmN6Lrnnu6MQ2PS8=; b=AULdTjPjte4phRIdNbIhc6Q8YA/Q/VrDmOXvIOo9FP3evFc2uwIfMDxCA772ER9Jbq FwqGT1LUWyLkX/xc40cg5FS5/plmEyx9piaG2ENFJZGyZE7aoMCh7CcCsKMfNkWgzS1z +Yizj5RKuSbHpc8B12AAqSBLge+WgWgy8tjndmZ68XReXTadyHuQjNB5HQ0rGGbJ66TX 6muxgkTspPM3VTddHBg7k302pP015vcg2X4/0mqKM9UP/z7EGYC9NX8Av5GYXPdbAZMM KDs6NsPfxG85/Tnj5EJV3HL09I1L4Zaw7WWA+hN0pF3azzXc7J5EVUdpoi6A77PFPMgL HBQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jd19-20020a05622a719300b00427e8500c55si8005982qtb.303.2023.12.29.15.26.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 15:26:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 61ED61C218C3 for ; Fri, 29 Dec 2023 23:26:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D9E414F61; Fri, 29 Dec 2023 23:26:47 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 813FB14AA1; Fri, 29 Dec 2023 23:26:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875a56.versanet.de ([83.135.90.86] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJMFD-0004hv-JM; Sat, 30 Dec 2023 00:26:23 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Sandy Huang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alex Bee Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee , Conor Dooley Subject: Re: [PATCH v4 01/29] dt-bindings: display: rockchip,inno-hdmi: Document RK3128 compatible Date: Sat, 30 Dec 2023 00:26:22 +0100 Message-ID: <18743278.sWSEgdgrri@diego> In-Reply-To: <20231222174220.55249-2-knaerzche@gmail.com> References: <20231222174220.55249-1-knaerzche@gmail.com> <20231222174220.55249-2-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: 7Bit Content-Type: text/plain; charset="us-ascii" Am Freitag, 22. Dezember 2023, 18:41:52 CET schrieb Alex Bee: > 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 > Reviewed-by: Conor Dooley this is just a note to myself: The binding conversion to yaml was picked by Rob in [0], so will most likely be part of 6.8-rc1, so this will need to wait until 6.8-rc1 gets into drm-misc-next . Heiko [0] https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=7048708fec3a401f9a70e4a74e2e12aa7f88c132 > --- > 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 > > changes in v3: > - collect RB > > changes in v4: > - none > > .../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: >