Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1632455ybt; Thu, 2 Jul 2020 09:55:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwNCPfAP6/ZYajYDjxhzVoazvAkFnWmjXrsV+fLwMGxInk/0kDL115wuYX4C0QL9zGFyWM X-Received: by 2002:a05:6402:ca1:: with SMTP id cn1mr24116884edb.223.1593708932937; Thu, 02 Jul 2020 09:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593708932; cv=none; d=google.com; s=arc-20160816; b=jiN8RjgLp20/gU+rgpWQcLsN7iut9rE344du7RxOl5C9/8R4ywOk/g+rcdfyfa9n3Z qfwnjoJlQa8prey5Ch3rLXNZVDnoBBhR35xd98TegwRdDpjLsYATiSykHaoDa9cPnBQN 0Y5LCatOdfNYtbDD/b0kWuJNHY9yRnGJyUW6qb6eLcgn1jNawMYzVpGFeEKllURR+A4U HY4BWBDGMwldc6cqjnm/WQehSQJ9T4rjnLoC/AcjwEovpcFI/8Fg0IRzrGZ9L0LD51fE k8WPExUwX9Vh4wRR8//4sX5q+En2elSp+AKyI5dy8fKlRNQEfRK9mdRYerFI8OZKj25x RH8w== 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=vMcu8Ju9pRvRk4cZvAEVAj/tG/TCgpnAEyzH+/zoVvY=; b=QdW+pBjFPmpNKZ4hJvK8mo9J+OO1JzF+2bF5H0PQdS5X9uk2OMMZSrgnMmUsJHj+Gm OiH2PaTPcZqpkFEUs2zcjGVt62mJKpPzqpf3oQnw5OP1DJggVjaxo6mNuFs8OgKp/XEb OEJ0hXeJKVNwJjrK/gHKCacRrWyNH5Lu7I8x0d6yaVgBlEQYzQtsO7TYelp5hna4f9Zs +j/x4JopgJbFuEb58+MGYHWRHo2zbR5bvX1z6X0Lr8SkrkwsCFt8nm4LArDpBAhAx05K 9q7CQ0ae0Ws46hy7C/SHwgoWHuFfYgIEznkG1Ks1UIzDeFBPfTOoTepNmmjEBzTHf183 wSWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bl16si6441223ejb.125.2020.07.02.09.55.10; Thu, 02 Jul 2020 09:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727085AbgGBQyk (ORCPT + 99 others); Thu, 2 Jul 2020 12:54:40 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60848 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgGBQyj (ORCPT ); Thu, 2 Jul 2020 12:54:39 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id DBE802A6038 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, tfiga@chromium.org, eddie.cai.linux@gmail.com, zhengsq@rock-chips.com Subject: [PATCH v3 3/9] media: staging: dt-bindings: rkisp1: re-order properties Date: Thu, 2 Jul 2020 13:54:04 -0300 Message-Id: <20200702165410.2583375-4-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200702165410.2583375-1-helen.koike@collabora.com> References: <20200702165410.2583375-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 '#'. Signed-off-by: Helen Koike --- V3: none 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