Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp461366ybb; Fri, 3 Apr 2020 06:09:48 -0700 (PDT) X-Google-Smtp-Source: APiQypL/Ud73YELjvt/DEM6yN8I+hvLwvNAjD/zNGupzLuxa1zCLQ2LqbjnX1CxHlSQrTHqa6p2J X-Received: by 2002:a05:6830:d2:: with SMTP id x18mr6436329oto.273.1585919387918; Fri, 03 Apr 2020 06:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585919387; cv=none; d=google.com; s=arc-20160816; b=p4nhOPCeuZRZpJMEZGDmiaEW7Phi+Flj8uasBd3augarpKUEiI0scQlXnHoYLuk5Tv w9yB1Id0AiT3yhoTZAg7LnZ+IFB9Kw+LHgj77Tn6P+7QFub+G651mEC+0pzh1sJLOt47 RgUBElm1QZVmq5c2GfkTY6W+jUy+pKGY57OviRvwrsRvJef2rmvvFL7H19oaTrYZwRRp /n2dqAPN9e1H5WRkb5SfuH6Ea5r9YHUd5fc9z9PXcf2oc3C47w0quANaylwFaCUP1JPX GeLlfZJ8IvauWC47BDrtHcFnWWuR1JqhcZF2ov/uIO+el/sN4yZ2jt/6TNTs8UhtuN0g k67Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4SOzz1DmBA7mljFUWMggCDnfrvoqqdJY//N8mPAQhYE=; b=yihCBZG3mLPqgGP3IHXbWl0o2vdUau5/whREKVFrt9TD3Mjf6AahO6XD2lDV1fBcnQ rcixVZC4wWw2zsAvjbHDM5YoRV2vW5QVaneC+LGwm01kt3eQbZ7+RTkO81iGFRAOaEkk pIOF/vzdZC1mmWpQ2nSpePhfo3PzQALKhJVAH0LgaYV8CLiCfymDb359ovCPpoEI4cVL FpUaq4+en8oUkjKbYfV8Dk4vrqZJHbmf2b72etOTT+HHK3HqeIA/nd4Z3ThFF0JB70LE aJNFINsdJNTLM5Y/xpj9bPD4AsK1vqOHFG9FvhkbVeAUXnCNyng/D/FamUy5lK7G84Oh BeNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n4oq1vKl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p67si3667405oig.41.2020.04.03.06.09.30; Fri, 03 Apr 2020 06:09:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n4oq1vKl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403845AbgDCNGT (ORCPT + 99 others); Fri, 3 Apr 2020 09:06:19 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39718 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403802AbgDCNGS (ORCPT ); Fri, 3 Apr 2020 09:06:18 -0400 Received: by mail-wr1-f67.google.com with SMTP id p10so8439339wrt.6; Fri, 03 Apr 2020 06:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4SOzz1DmBA7mljFUWMggCDnfrvoqqdJY//N8mPAQhYE=; b=n4oq1vKlwlBna9oy0F1xJ+XJqlPWCBvFuIV8OwA5dMCdovlp8WWH0qxUaXFHiG3Ba7 EgbdcftsRMgnpFruqG84PWe1JpwfrIIvSLVW4UNQ8eeBGKW5gqoKKqGZYQBgtLiSr9aq foQFVK4H7/mFGwRnMANlYBdNaEIFemBMpybVAi5Ab4Kz3d5caXNgwI9nnMkK/iZz9s+q 7TNJAa+qMqptwzD+DGoeI7lTSPGT0m1aXgomOFlMgYBBs7oEeH4E3fN+xUOt6DolnTUk eV9IxiJe917H3X51DhnnlvpcUhIx7Pi0tsntSf3mGfdj8gTlMPgMoccczujiLOcfREtD 7hUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4SOzz1DmBA7mljFUWMggCDnfrvoqqdJY//N8mPAQhYE=; b=ETwHfRZigKcoeG9QJz4pd2rE+EN9jNYdOCYMmSzYeh4QOeSLyBReIgLqmNzxQGr12H 5+pLJkhzD7ALfRrbTLjh9UJD/Wn+Mmi4eDS3lPvxeHOweOrp9a13DczL9RQjZ8tPXAu2 inMSPaRExjbCUsJcGPDA22VWnOddbIJIh0XCYEn/yk1XiMyNzGBClf9TReNrO8QLqppT +VcElAfS33IsVaScczLsUPyYCcU9zHh7qCBC75pBoGtUzeZ71bqu/ZkI9x5jMFFP81XH M/esyqdb5EiNeYtO0LgRKyCjls4VXQGBcRq6dXAISuaXh/fVtaNVnjT/frVDUc32IKGh wJXg== X-Gm-Message-State: AGi0PuaKdKa7RLw+VRxwgsw636rIwz+5VWnXnifNAObZ7H+/DYYortgZ 7zfZz0R4JIFscQlBV3sVqdw= X-Received: by 2002:a5d:470b:: with SMTP id y11mr8767392wrq.282.1585919176335; Fri, 03 Apr 2020 06:06:16 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o9sm7036093wru.29.2020.04.03.06.06.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Apr 2020 06:06:15 -0700 (PDT) From: Johan Jonker To: jacob-chen@iotwrt.com Cc: ezequiel@collabora.com, mchehab@kernel.org, robh+dt@kernel.org, heiko@sntech.de, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: media: rockchip-rga: add power-domains property Date: Fri, 3 Apr 2020 15:06:07 +0200 Message-Id: <20200403130607.6138-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200403130607.6138-1-jbx6244@gmail.com> References: <20200403130607.6138-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the old txt situation we add/describe only properties that are used by the driver/hardware itself. With yaml it also filters things in a node that are used by other drivers like 'power-domains' for rk3399, so add it to 'rockchip-rga.yaml'. Signed-off-by: Johan Jonker --- Documentation/devicetree/bindings/media/rockchip-rga.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml index 3b110b574..dd645ddcc 100644 --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml @@ -39,6 +39,9 @@ properties: - const: hclk - const: sclk + power-domains: + maxItems: 1 + resets: maxItems: 3 @@ -63,6 +66,7 @@ examples: - | #include #include + #include rga: rga@ff680000 { compatible = "rockchip,rk3399-rga"; reg = <0xff680000 0x10000>; @@ -71,6 +75,7 @@ examples: <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>; clock-names = "aclk", "hclk", "sclk"; + power-domains = <&power RK3399_PD_RGA>; resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>; -- 2.11.0