Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp648049ybb; Fri, 3 Apr 2020 09:17:09 -0700 (PDT) X-Google-Smtp-Source: APiQypJkP+MAWLPn9hA5kDm8xQSzDmqXl0VhDliA4MZUssImagBM7hdGKl1WYR1xJdr43HvyUFHD X-Received: by 2002:aca:d68e:: with SMTP id n136mr3728087oig.103.1585930629484; Fri, 03 Apr 2020 09:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585930629; cv=none; d=google.com; s=arc-20160816; b=Ue2/MtG2Z1HB9YHtiQcT3spk831kGS5wSG5BpXgzrIcfzZh89QMUQAZiG6M2iJl88m dRusWTP6MCeZ670tzF5Wox0UAnae/3eFKQC+6YuvHrKjRbvKT1AUSscMKU89YoPqhVCT GYfwBnXUcQCA1FPyYtYrknZ0SQ/gUCxw6iwi1x7lwAZqq18x92BcSwmbwWYiASPyHAXe ZnY/YL+TfN0rK7TaqT0MbaTl9sxREvlm7BJPEyGvhDgMXgk5m24fKenhgke4uS5lQIKI WHZ802Fm4GC8Q0SEvf5xDsY8MzooWh1bLzg11weBTPjhoeSk3dBv3g4nrN1rxEYYgv/v l5ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xMaUb1EdqkQtxkgOd1o8INkjgxt3GKQMFTXB2jlSTrs=; b=pvhaQkhloqy5lfdEdSJxsPFVVeLWVEfcs5PEi7sUIXPEg7hvmpoiVWF574QbNKQhb7 0kXCyfKc8js8UhXe9bn6H8Wkc9aNERKjN5t4uR2rB0eWF9T0Utia/mxeUasSAvXhrt5b uesK+ia7cog6HXoG3jApgMeb566lWNPMlozApoE50FJn47fcz8Pi/u7lnNOXsLVZHPlH QtaOgZdav2UjNr/ItxeqDyfQmYe2g/3XatlLTXiFBYGCD9+NRp+62QcBiO9ieDEC7cG2 St4JD9ke/d+AU5mo7bNAB/M/5VRyuMGx9d5OYva0apmaFcYSOaYx9hSQyhJyJQkBjplc FGWQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w29si4360772oth.24.2020.04.03.09.16.55; Fri, 03 Apr 2020 09:17:09 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404174AbgDCQQQ (ORCPT + 99 others); Fri, 3 Apr 2020 12:16:16 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58016 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727431AbgDCQQP (ORCPT ); Fri, 3 Apr 2020 12:16:15 -0400 Received: from floko.floko.floko (unknown [IPv6:2804:431:e7cc:11ff:4f80:3de:e2b2:5c1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 8D730260560; Fri, 3 Apr 2020 17:16:08 +0100 (BST) From: Helen Koike To: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, robh+dt@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, kernel@collabora.com, dafna.hirschfeld@collabora.com, ezequiel@collabora.com, mark.rutland@arm.com, karthik.poduval@gmail.com, jbx6244@gmail.com, kishon@ti.com Subject: [PATCH v2 3/9] media: staging: dt-bindings: rkisp1: re-order properties Date: Fri, 3 Apr 2020 13:15:32 -0300 Message-Id: <20200403161538.1375908-4-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200403161538.1375908-1-helen.koike@collabora.com> References: <20200403161538.1375908-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Organize properties order in dt-binbings to move it out of staging. On top: compatible, reg and interrupts. Then alphabetical order, then properties starting with '#'. Suggested-by: Johan Jonker Signed-off-by: Helen Koike --- V2: - this is a new patch in the series --- .../bindings/media/rockchip-isp1.yaml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml b/drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml index 8c7904845788d..e5b9c0574e352 100644 --- a/drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +++ b/drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml @@ -23,19 +23,6 @@ properties: interrupts: maxItems: 1 - iommus: - maxItems: 1 - - power-domains: - maxItems: 1 - - phys: - maxItems: 1 - description: phandle for the PHY port - - phy-names: - const: dphy - clocks: items: - description: ISP clock @@ -52,6 +39,19 @@ properties: - const: hclk_isp - const: hclk_isp_wrap + iommus: + maxItems: 1 + + phys: + maxItems: 1 + description: phandle for the PHY port + + phy-names: + const: dphy + + power-domains: + maxItems: 1 + # See ./video-interfaces.txt for details ports: type: object @@ -110,10 +110,10 @@ required: - interrupts - clocks - clock-names - - power-domains - iommus - phys - phy-names + - power-domains - ports additionalProperties: false @@ -139,19 +139,19 @@ examples: clock-names = "clk_isp", "aclk_isp", "aclk_isp_wrap", "hclk_isp", "hclk_isp_wrap"; - power-domains = <&power RK3399_PD_ISP0>; iommus = <&isp0_mmu>; phys = <&dphy>; phy-names = "dphy"; + power-domains = <&power RK3399_PD_ISP0>; ports { #address-cells = <1>; #size-cells = <0>; port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; mipi_in_wcam: endpoint@0 { reg = <0>; -- 2.26.0