Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp533415ybb; Fri, 3 Apr 2020 07:25:06 -0700 (PDT) X-Google-Smtp-Source: APiQypJRqUjHmj9y3LR2xnsz+hoYvST9z4Hh1S9DkJRcccQrBJHgnOoVJAqhfXsr7XaFPy5xtEBz X-Received: by 2002:aca:5454:: with SMTP id i81mr3235194oib.23.1585923906255; Fri, 03 Apr 2020 07:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585923906; cv=none; d=google.com; s=arc-20160816; b=vibsVcvrZHLlOCdNd74Bmc58Si4KU9r2gMScB5uoiLfsiipuLKaucx+eq8GPIl2qey gK1Qz45ew5frkX99bwyN8mwpBres8CUoXwy9RE3C555oTfLuwMAjyw1jLwymmMjhgN5T X0N5AltzUHJWTWxEBhR81j79l+yDBK0ADCWxwDLQFcEHMrbS8ksVHgA5Edr65oa9Fw7C aDHDUF6svXlsGTHI6azFWZvrJ1lEUTSHnafZtuxwX7jET5Vjg5DDMbpVqVcwLJz6okWd JuEy2COQm8n6CGttVdqtjp+KJMqI54Xgi2wtqO8vsFhNyY4mCD4f3eHgXWuFkgSXaAZv A3fQ== 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=eO7X7pq9711SintqFPgETXqv2Z2n0tdDbbm4z7qxhxQ=; b=y7Ur5zreHWR/AyxzuIbCcH3FRMhWTALkAdS8VL0+VoKJ1sKP/vH2RfgbJ0L1dUUPJ+ YWiBZxdk4qM9QpIDTmRHTW0HrwDxAGw9E7SSuEDkcjy6cmYOgIm8YfzxF9r2TY/lE9sg SVD1yPFX/7F/lTyx0gxIWUEsKqkt47HYuR5emoup5DmnNWG3lERn3wc+Jx+CGYmxNcZo KUpxMD6msfxj7JJTFD4kinSsJ3qQNTJjBBrScM6vPAn0xqfJOISCTl1atMYKHzF8jLTw 9tFyte9bvr5rFHEBEhfcx7llr0EQxo0pep61KwSXy4xT28quD0YJHM/FhuewcP8m3w6Z 7Vmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mr+nvzcL; 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 6si3709635otv.76.2020.04.03.07.24.52; Fri, 03 Apr 2020 07:25:06 -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=mr+nvzcL; 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 S2391069AbgDCOWr (ORCPT + 99 others); Fri, 3 Apr 2020 10:22:47 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35816 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390940AbgDCOWr (ORCPT ); Fri, 3 Apr 2020 10:22:47 -0400 Received: by mail-wr1-f67.google.com with SMTP id g3so6449765wrx.2; Fri, 03 Apr 2020 07:22:46 -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=eO7X7pq9711SintqFPgETXqv2Z2n0tdDbbm4z7qxhxQ=; b=mr+nvzcL9deyVcXVL/g1iirSVwK3iqndoX+uC5K0N8OLS2lWwJzFG9Jw2Us/+fDJpW brLw+fuh6Ak35u+NuycplcSpqr82DZbcL0hLTZu/+IUeMfHv70EY85g6KjszihMlq5iA lSHDCK302Ag022kI1mIAq4N+ho3T7qHlcGZNzQvXl2zDPWFa/vGS/tAnUZqurLVHM11r WiZbq3t67mum6LuNLEe/neZ2QBJEXLMGOK8/86HtQtVT40k8OfRnx0CMngdy3mKuFtbT 3V4NR93kIMMp7AZIbDs2j6RSLe193oXCWnU1L3yihX4G5Xlj/0HCPorjdSQgpacir6kO h8Yw== 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=eO7X7pq9711SintqFPgETXqv2Z2n0tdDbbm4z7qxhxQ=; b=BspySNqG+4jmDrhr1uPKAzkiZeUG8n6mBsXVT+jt5SmhlNkOvbHdTAh4Bh4zhdhm0l O9DIvQmDr/BLulWcOwi5qan23QOPTnmAd2TC21VQVCWXyAh4ZNzotQ5OYg9zCcuxZEao jySFdsoln2eeadcBIjldTiU7XT+YCF8NK4TculHOWNf5B5U5fqoA0X19n844Bn9hSxjv 1WKttaM/S0RHH+xEbPstOcgi1Of+Y41Ecw6jbiJwRLgI4Sq9kXAy7pAY1om3Q7/bT5pu okVPCdAN4HUg8cPT0ITZWG7egh9HhidHqfHR4Pyk9vW+Yg3rJ93IdmGff36jEY5KNNUa ELuA== X-Gm-Message-State: AGi0PuZdzo4l/aX40P3iZfecLM2Fvvuva/bXB810LMRnwT/vwFBxftsB SrOMMjtROTLFZUAOig/oUNpkUV9R X-Received: by 2002:adf:f8c1:: with SMTP id f1mr9559333wrq.345.1585923765447; Fri, 03 Apr 2020 07:22:45 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id u16sm12132223wro.23.2020.04.03.07.22.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Apr 2020 07:22:44 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: hjc@rock-chips.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, 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 Subject: [PATCH v5 2/2] dt-bindings: display: rockchip-vop: add additional properties Date: Fri, 3 Apr 2020 16:22:35 +0200 Message-Id: <20200403142235.8870-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200403142235.8870-1-jbx6244@gmail.com> References: <20200403142235.8870-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 'assigned-clocks' and 'assigned-clock-rates' for rk3399 and 'power-domains' for most Rockchip Socs in 'vop' nodes, so add them to 'rockchip-vop.yaml'. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- Changes v5: Add reviewed by --- .../devicetree/bindings/display/rockchip/rockchip-vop.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml index 42ee2b5c3..1695e3e4b 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml @@ -75,9 +75,18 @@ properties: A port node with endpoint definitions as defined in Documentation/devicetree/bindings/media/video-interfaces.txt. + assigned-clocks: + maxItems: 2 + + assigned-clock-rates: + maxItems: 2 + iommus: maxItems: 1 + power-domains: + maxItems: 1 + required: - compatible - reg @@ -94,6 +103,7 @@ examples: - | #include #include + #include vopb: vopb@ff930000 { compatible = "rockchip,rk3288-vop"; reg = <0x0 0xff930000 0x0 0x19c>, @@ -103,6 +113,7 @@ examples: <&cru DCLK_VOP0>, <&cru HCLK_VOP0>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + power-domains = <&power RK3288_PD_VIO>; resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>; -- 2.11.0