Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1922732rdb; Wed, 31 Jan 2024 13:21:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHwMb56wNntSJTSMdYca/QuT6vM0jZgjvVYbLp2oxr3vjv1/qehrbVbehROzWNNDs9ppeo X-Received: by 2002:a05:6830:7313:b0:6dd:d5d4:b96b with SMTP id ex19-20020a056830731300b006ddd5d4b96bmr3027599otb.25.1706736118348; Wed, 31 Jan 2024 13:21:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706736118; cv=pass; d=google.com; s=arc-20160816; b=fA2l4H+OEhSUufadKjRvzpgqLIHjJkE1Xmn8kc0ZXcKWcqLsLKBy1KNf5nUacZgb9L 0a0uyLZ2XGy4M14jJI5EO0XNkCmElGFlJh+6E+QJKuwb0tg9TGSRNej3w6Mvm+3o5P4t BohKbJ8t8r3gzAOVrWvJuD4YoifpDapU/IzdCV/kfuFVmEBZjPwtFM2k7knIXhh7r8qd oPQhXGE+553+IySuuUUpUSjwFyISQR81dpqKKeku369Up5eqeTz/iGgpAUYQyEvg6sCg PkSIbQ89epDFMaJl6M2Vri2c0sQ5EWFSPvw49Ll6m5+77dI0W+7OdHYbv6fl97D8gOQi BrJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=7WAHmXqhwFGwnUoVVTvOT31zVVDiv5ormXLbiLzvJr0=; fh=q4ld/qQQTFuSZGbPSo6vIm7cxorewvgm+xqpoUhhYr4=; b=sJBVIHgNdKtSAjM6+vQCyKjx8Cp5jMFK2JeAdRZOGRkTnrIUsILfhGuTmKTnRzSYJ9 1zJ8VxZfXvsAGXbn59c9rx32mEAzYhcJ2yTtzKMLfS1cgw4PhWbR0eSKaF8Tr5eKw0iw bHLyllJKZ2+uOh1T03dvWFhrJAvYiJW3qU34hvvLsECWEvYOX+l/0CCWbvNTl1nRMVz6 sAdDh7JmPIZroD72bxcADv+eStW6DYz1NyUcgawTzOfHNtTy5xl5m4OxKmDy69uAhcf6 iG+q/s8ogaj2pCFbPksAhUSDfcq6oJkMKznE5b4t8O1VbLPt+K7b2bSRQUqhr6804hFf +WnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YgdTdw7t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47144-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCWWp6h7UF7JQdosnKGLwV6gAXKD8hUPKsLC/4UV9kma6yIDNE78CzBkgxQc8ECMBEXUE/3a6jwR+ygk1W2Mr4eUT10lV4TPe8C8ZgQ2VQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w6-20020a05622a134600b0042aa69e5f37si7605948qtk.605.2024.01.31.13.21.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:21:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YgdTdw7t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47144-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0FD5A1C224A3 for ; Wed, 31 Jan 2024 21:21:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFA1539847; Wed, 31 Jan 2024 21:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YgdTdw7t" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 282A738F8F; Wed, 31 Jan 2024 21:16:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706735789; cv=none; b=qNJjk3i/moYHXyOY2fp6rFraFkHFoJ6byK8IaKISnSt8Rg91YEVx93Jol7+pCJvpME6xrJNP6Ts20cy2FRCpWZgS/xVtlsOdu4mooxl/NPH6XniI+wL0VcaWY3KvKfsITaokrWwfx3/iRbw1rLMc7jdYqmaNmqqLYv3UwaNROrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706735789; c=relaxed/simple; bh=VxIVD2Uu8YJWcT8mNEh5Gm55vkRnDKI5CB+olARhzR8=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=tTwToJITx2ntiIyV57SW1A5mj0v86snuum3/rHfdikjYkkOTpmpJehYOv4DbfG8IPU9F0Z419+3C+4RapI+LhroRd1jwBqAQiBEV8r0PhmEcDyEvGfI3LIb6lDRgyAdfOrr/P0cLnBjm4eZ3Y3hG9VfOHWhn2ZD2T18Bbvr+WAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YgdTdw7t; arc=none smtp.client-ip=209.85.218.42 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-ej1-f42.google.com with SMTP id a640c23a62f3a-a271a28aeb4so20899466b.2; Wed, 31 Jan 2024 13:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735786; x=1707340586; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=7WAHmXqhwFGwnUoVVTvOT31zVVDiv5ormXLbiLzvJr0=; b=YgdTdw7tqPeP5yMJ13eO5y6/QSzG7Yc0MdvCDNgQ4OEm0RjkjAoRJOynUAsfgU23Es 5RU2Nhaw5YoAGSeHjeQ0xSYj3MBLC1RAROoFbBTVT/APC2KeHo1tQBnLtCFyE3d/EqiF tLMRTrbJFI8CaiE4GC75nKxoljD3laE+1OVVeCDqwZSXkvzrBJqdzK6EGrucRhhdpL6k LGgwO2azKskmFHH6W+9rKQ2pjlBDx92EE+pUYNlRWwHvyMGYRBiBWbIa9nzaXUcwnVcg 4/FIjo688bZiV0MYXv+O0oyzo9k3ItBEdrpjbWb0Sm5HNcFNh6HAQzJ2dRut02/rOMAy eKvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735786; x=1707340586; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7WAHmXqhwFGwnUoVVTvOT31zVVDiv5ormXLbiLzvJr0=; b=lzQ3Azn7mwLwI4uTIUYvArKh+nYcIAc4W8A6gM6l5eVwFfLFMYmvrbVLMv7aFNUt2f WoZRs4jIMsLuF9nmT+EKjkKCt7PiJjJznGrtVB/wzfu/fzpqpBX86di6Om5rPkic1SpB 8mdz5B0PLo5Yn/tnwb4RDWKuVIiT84BmgsSvqKYFsKSi8+0K1iUY70Z0KUOEaW/K4f5N 0NoBSx6ZY2HttZEH4hip21gSgx3cnnU7rBzfeI1R2ePf60lwNP72kZokleO0RgAiSvPI J1fUjaW+PlImXE3OR1s6YTUK2RSgYd/qJoTnq9zQX70q73GOS0WN+xeR5iYvfbEX/FxM Bbsg== X-Gm-Message-State: AOJu0YyKR8R8C0axQXFOd/tkNpt1oZIZp3BioeBwnxcWevOZABJRV7Wv e9GCT7o7wxr/I7JwYwR5OSoeCcdDRv2FACZMC1iX1zP7KrKBR0FL X-Received: by 2002:a17:906:da06:b0:a35:edda:ca8b with SMTP id fi6-20020a170906da0600b00a35eddaca8bmr1992854ejb.76.1706735786182; Wed, 31 Jan 2024 13:16:26 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVc2fs4IrBG2YWUC5LcZZStHjB+RqDtXVILboDRP8Y2Xm1IoMKnaO2pMi/h4SQUCrAruBblHzoOgDf+Aud6ulOos3QKpvTrOPDbWDrqrs4HoncHMRv6melTKIpllEW8OtFwnN33yPaEFX9kPiIJVFaz94d8Y4gJLNprrxIiTqgEwAzZF7DeO5/IO+fEX+0/dhCvlliQGm9DqOzAUU99bBQXn8o6SMzo0Hgoqm5QeA2k8zgHOry8CgP0VBNfmF6GRhoZHfwmUaL8uBJq2XbfcWxvunXQBbU7jqJRykZJI7KloTyZpPzrwxL2fFFCF6Bhxt2IUP/Th38ZoCpdRzQ6aMCLFa2oh+q58pPry2SEjx389pdHUxDhLD1zBehNndrSw2rsYkLQxOTTyGj1urAZFRt7Si96ewe9IW1EE5T+1hm6QZu0b3o05WuKCL0qn+GsDGuC/NhYfkqoWV0flggiV7whpyZ47IjqSXr14Zgh9zg3S1LmTND+9p305Lhk7uaXtn3un3AdZ6x3agLqjRDz/BlXoxQTGjcJ4DNSh7kyURpMcQ7mZNxtPNxNIrdB1QW1nlxVxlpJ1FUsiiLxuuc= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.16.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:16:25 -0800 (PST) Message-ID: <5c45527a-e218-40a3-8e71-a5815417e5f7@gmail.com> Date: Wed, 31 Jan 2024 22:16:24 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 2/6] dt-bindings: display: rockchip,dw-hdmi: add power-domains property To: robh+dt@kernel.org 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-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Most Rockchip hdmi nodes are part of a power domain. Add a power-domains property and include it to the example with some reordering to align with the (new) documentation about property ordering. Signed-off-by: Johan Jonker Acked-by: Conor Dooley --- Changed V2: keep reg-io-width together with reg explain reordering --- .../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml index 391c2a7e79de..af638b6c0d21 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 @@ -138,16 +141,18 @@ examples: #include #include #include + #include hdmi: hdmi@ff980000 { compatible = "rockchip,rk3288-dw-hdmi"; reg = <0xff980000 0x20000>; reg-io-width = <4>; - 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>; + rockchip,grf = <&grf>; ports { #address-cells = <1>; -- 2.39.2