Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1674843rdb; Wed, 31 Jan 2024 06:03:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEV3wi+OgACkJsxLBk4zpyMScG5GPmI0fbgaRgOkTYjC/qgX0spmg98eXVDnFZs+WLmZ0ng X-Received: by 2002:a05:6122:4b16:b0:4bd:60f6:b14d with SMTP id fc22-20020a0561224b1600b004bd60f6b14dmr1515637vkb.13.1706709801126; Wed, 31 Jan 2024 06:03:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706709801; cv=pass; d=google.com; s=arc-20160816; b=MH8K+AiFs6me6Vt7/sNST+lB0k5Zc61CyYgcJTAxeemQ/SdxRLUjWpBqhg2JUrIVRs 9rivQ90/SHZTGygUZVAcQT2X9gd77JrbclwCsPqIpFkgSOMsEpicCxgo0xiJAdmUCHxT PmytGVB9GMWIkNcL5AbBnkwAZUQe1VaSKRTaEm331OAjPNY1BKvYmorAlG7SGX/N662M Jya0VECwuyyyOEMWh6UvFP36tAxiWsXfnhISUwipGQymkjYQjxwGEjim7RWgIZg+WIRL IUzxp20KSseRvEauroKzslOxA5O9ayF4VQF+sUWOP1aVyQ2Nkokum4VawjnqluvGToCA ml9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EO3F42mnhiS8FnadbZhDflIGhK+adnUUAx3Wn3i9YSI=; fh=QhzfrFocwqXszS2zkT4ytflOp+ZdJdXc4BRL8l1xFt8=; b=MTIqsimPqD/0sTOfd8pEYX2CbGl7OJjp7NuEx2D2eZQJOTBOqEpgdS+6+oYCtfbfk2 NBsLMaOc54HF+aMXKU+9XRQTTI5Dz+pIOhSjdpAUSR7Jw2oMs0FCABPTi3QFqbUWFuTe awCd9izZxjk+TtWjT1+Ez324Hmf/dYqfH5nir/SjLmKoQJN9tCAKZWZkWX1x3dUPUP5o 7tRFgZNcukUelO1sfF1+wNkXT9FewsZ54C135FSYkKgDUVHx/l+aYZKJHx020XzkmmEu +BJC2+9DUnlzItTAJHKt53z0k5qdaykREGDwNVhmjbFoharR/lC1LvT1WLc3MKAmPC0A oTxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r4QN5TZC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46549-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCW5cmfWG79iF80iVQMUzLejVRzXTPxKZkoDM7vMvgGtW2zYvXh2lqvNx6OwXkviiPp7Dq9PcvpvziPZrZ/Dsr05Ln1ypvRE8h+5Q5ZLCA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b22-20020a05612202f600b004bd5bf79743si1460399vko.276.2024.01.31.06.03.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 06:03:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46549-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r4QN5TZC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46549-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 E05C21C25BB7 for ; Wed, 31 Jan 2024 14:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B891882880; Wed, 31 Jan 2024 13:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="r4QN5TZC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DE20B8286E; Wed, 31 Jan 2024 13:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706709598; cv=none; b=W+QKsh2/EBlAdn/XNtUfzeMkL+RFACJ1JBJPmrz4vxbIYmCeeKP8HwiwU6zBAsrMdjuJfFJjFn76UVwX5zrGv9b3MPNVBs3wTDWSn6o+41icpnP5SQjry/Q1076cx4vVb39JRoR9BSNSy/UO5geomU5lf6yAOHbbOqcaWgDef8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706709598; c=relaxed/simple; bh=cX2K5w9GWrdNEUyfrUG6IelYh8NLqv5j8lI66oywVPU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LQrLHWtd1ENuRaXwUUHLluwUMfTYI2CbMnWMczArTNmrcy8xszeHYh6Lg/s/F0cGqM1l7k40L/wXtvpvCCqZgq4/7n6I+egr4Mb9vZfdC6Tt4W6RfxDcm6x0H+W7n/AA1NGnL/xfDk1hw2rCllH5wTbrtCvb5hFCdZ7+Fx6Sj2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r4QN5TZC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3262FC43142; Wed, 31 Jan 2024 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706709597; bh=cX2K5w9GWrdNEUyfrUG6IelYh8NLqv5j8lI66oywVPU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r4QN5TZCtY7/sLO9kwHjCm1yV84yTjejctGfEctgi6U1G8d+B+ls+W+CURrrZMweO Xg3My6YVDAGTjBxtTIHoPpI8b0HPctgJgxXU0JvN7qnIOpZSKVWDtLmfZT9CAPjJ8w IuGiaX3U/9QbPXiXpDiHg1MEPxXne9lHEFvg27Iv0sv1SRydlUDYUH1fZ8OHrZk3g+ nbr+GxJRgv9cJ9uosjPtuhNnPAy1fCXo4m1pmBZzQuS9TWL2yes3WVMQI/79OLEM++ mROaw2KnRrEDPKuHV6XGdjVhUxAUaIaxjuxeAHk1UkWZ52NSWx8itb9pL/CFeXdUEP TuyrF7Y/oXPyA== Date: Wed, 31 Jan 2024 07:59:55 -0600 From: Rob Herring To: Johan Jonker Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/6] dt-bindings: display: rockchip,dw-hdmi: add power-domains property Message-ID: <20240131135955.GA966672-robh@kernel.org> References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> <1ba8b40d-005a-4665-afd9-a4eacf3e3031@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ba8b40d-005a-4665-afd9-a4eacf3e3031@gmail.com> On Tue, Jan 30, 2024 at 03:57:23PM +0100, Johan Jonker wrote: > Most Rockchip hdmi nodes are part of a power domain. > Add a power-domains property. Fix example. > > Signed-off-by: Johan Jonker > --- > .../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml > index cd0a42f35f24..6f421740b613 100644 > --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml > +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml > @@ -94,6 +94,9 @@ properties: > - const: default > - const: unwedge > > + power-domains: > + maxItems: 1 > + > ports: > $ref: /schemas/graph.yaml#/properties/ports > > @@ -141,16 +144,18 @@ examples: > #include > #include > #include > + #include > > hdmi: hdmi@ff980000 { > compatible = "rockchip,rk3288-dw-hdmi"; > reg = <0xff980000 0x20000>; > - reg-io-width = <4>; It makes more sense to keep reg-io-width together with reg. > - ddc-i2c-bus = <&i2c5>; > - rockchip,grf = <&grf>; > interrupts = ; > clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; > clock-names = "iahb", "isfr"; > + ddc-i2c-bus = <&i2c5>; > + power-domains = <&power RK3288_PD_VIO>; > + reg-io-width = <4>; > + rockchip,grf = <&grf>; > > ports { > #address-cells = <1>; > -- > 2.39.2 >