Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp475166ybb; Wed, 25 Mar 2020 03:40:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuH26nEb5kF2yn/WQ+iiA0tfq7CgaCKtGQcCvHlGKYohaJRtmIReRLSwbs68iTneEZk4d3V X-Received: by 2002:a4a:a88a:: with SMTP id q10mr293307oom.17.1585132832832; Wed, 25 Mar 2020 03:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585132832; cv=none; d=google.com; s=arc-20160816; b=YHKJbw3R6Too02g8rzGRV5rkKGgG5+jLNV1E6h4YJmvNQ14GhRW1mcNVdF3Or2iBCL GnehO0HgMYBGFAn3dhS/xEBGS/1mjYYeEgYQrrOjVAMHHUWkg2tmEBq8/I6biqCsyjpf Qih3FJYmLjNnBA8W/GIE9/CJg7SNNGh1FmYjbGAbeg7MkWvcT6SKSPcQqjpZzugd6GP6 W3UL1lgOex24XG5+uQfJptZc5uNwMQIjgH1fXwelZp5U+OZ37FHgC3rGoFcy1MbxHBvv aAV6+pu0mkpWNdVnDBCgjYC0JzHcx1SMXi5wS5UidFjHCsaTz3nwprtn4rGbjQaWOEqb JVmw== 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=/wgvz2lVpp5+P73ebkZ5cpJlG6NyplWSlH1ZFZco8LM=; b=TaOYbbdys+fYvxzBOf9zEUrzFFFTYOh6gHnNBjRPwSnqQL/ZYeOFznuMvHscAGbCUP Z1X0kipjZ000ABRJ++KYSGM3y+nY4qORhG14sDNs+FrBaPw6eML1/n10t+2V2v64eo85 M4+P3x/f9RbuobhrKb9myybToUzlV+voW54zH5+SliEfiWm/rumjCIHxZ7Qq7cFGTaPd /suj0As1oI6USQis9aFHIhPww0XOLwuwOVkxHYYsBMNwvGvcMewbZGMSoLK2Lb9oIO89 f63Ff5e75HOZUOji2iJtoE+anfSc+qZ14Pko9fLUUjLDnaTTMMcQe0Ao5rYDNlhWakAE RxFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="eReNsT3/"; 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 k10si977002otr.174.2020.03.25.03.40.20; Wed, 25 Mar 2020 03:40:32 -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="eReNsT3/"; 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 S1727540AbgCYKij (ORCPT + 99 others); Wed, 25 Mar 2020 06:38:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36594 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbgCYKij (ORCPT ); Wed, 25 Mar 2020 06:38:39 -0400 Received: by mail-wr1-f67.google.com with SMTP id 31so2330663wrs.3; Wed, 25 Mar 2020 03:38:37 -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=/wgvz2lVpp5+P73ebkZ5cpJlG6NyplWSlH1ZFZco8LM=; b=eReNsT3/ql4XtBGPugbUGLIbqp4B391Ps/1xoYiR+OGIUAH8+B72MCrP2HlKPfoWaP pqYGsv0O8ZMQL6PQ+IalWVy372tw3azPRtzZgqDbyElePH+Tqh+q33JT2PdJ0HFxNGP5 qRaT84ztZV1Oows1zWBxj5nUJUo4aoP26PcBpAec19SxZPm2MMk9Uq/svtyyxKJa3orv yvka7cvw1E52RdM4qI00bCg31CXx3lSjeUvvg7UbfjpHHVojeBhPr/W/FFRckGeye2FJ 15R/lKijLyeFma7tkjaxFYbz40cTthdWPkHJoqQNrVmFBJPB1baHaW6/959pOfdz/cVB JpJA== 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=/wgvz2lVpp5+P73ebkZ5cpJlG6NyplWSlH1ZFZco8LM=; b=NyQYEg2N4vhWsYaC8KGYmjPs+SxPCb0DZllR1/yTYEkoZr73ORNp8EfRfUdMzLGycG nMnaFlDN+hOMXAE+dN/ltwaf60dgjfvtgutq1G0IUMeXHHZecfZaTL7zkArsLgeCmI8a Tg9bWzVpSJzjBlwFDrP9cmEfzPUkYqhC2nNGPsl68dBqyQ4Fksq6fvCBvjwj5r60MAIm k6eDJRThw7urS3nYy2m+xglpoI3vuOGf93pK+kceFdhYLFjyBAqcFWKtLT0uHXV36rm6 awVmOhJaky7aI6U7g/Q41AOIB7DMwlkzXq/OzClhUx6MvUIh8u9y10GNMJX0jdVPuU1S 1sGw== X-Gm-Message-State: ANhLgQ1qvsd9SnBFxsJ4ohkbcCS2SQOqf1bw5SYY5fQ33ul1FSkD042i n9b/NP8sm4kWSkJEbPngynkHytOs X-Received: by 2002:a5d:53d1:: with SMTP id a17mr2871409wrw.41.1585132716907; Wed, 25 Mar 2020 03:38:36 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id i21sm9163108wmb.23.2020.03.25.03.38.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2020 03:38:36 -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 v4 2/2] dt-bindings: display: rockchip-vop: add additional properties Date: Wed, 25 Mar 2020 11:38:28 +0100 Message-Id: <20200325103828.5422-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200325103828.5422-1-jbx6244@gmail.com> References: <20200325103828.5422-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 --- .../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 bc58c5132..497a9fb2d 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 @@ -95,6 +104,7 @@ examples: #include #include #include + #include vopb: vopb@ff930000 { compatible = "rockchip,rk3288-vop"; reg = <0x0 0xff930000 0x0 0x19c>, @@ -104,6 +114,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