Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2171758ybd; Mon, 24 Jun 2019 01:56:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyk3jh9ti4Ap6rdNAoopo9PBXYVnBWn66i3Nh0b4H2lbGDxfCKxIrvkGw8qMnlhdpPOymyk X-Received: by 2002:a17:90a:22aa:: with SMTP id s39mr23336939pjc.39.1561366568205; Mon, 24 Jun 2019 01:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561366568; cv=none; d=google.com; s=arc-20160816; b=q7gQrBm3o1xIF73XYzmBlDhOAfajU2hYFpc+mqIuCZYfdAGN949Gac5Vj+UGGChImg 0tH4fH1dVhxoqx0HExPvVdkiKWlKhwW4uBl6D3kGiOLzUD7W84KpBbC/m0DuIknPV+kh Dh6FDgw0iuP65kan0bTRvVgNUJxDO7FdoxiqAyVMQwL9vv/hqmGIgya90Kpwx3jANrfW 7ItgFl64ot69ILRfF8A1iKFFfnKYsMTPIJIrOnrfZpVAFEP8mJvN+PRSo0Xb6kfwu3fM 4ZTnfhoYgCnoryCpBbuB7AT/SKuUsyVluW04h3d0NyDtDyHSeenoOryuAykKnuRJqe1O zElQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fn+atxNGCd7GMjGBZwLIsDNMYPKGybmSaennSJ1pMaU=; b=SrIMd8w5Z4yg0RxE2grZBj07WgAzUDG6kg3tDOUW3Zcx1n/hebbzuRVT8kkNvo7Ev6 dt0S0p2cLP6CwnTechLsGNBWvZrE28b5Y6e7sKsqq70/1bppitWuxlkvRWipamnLzkYO 7w2GbLYLq9+DekXWtDyiVvaVOewqQai1uiV9y/yPKlUTi21ber9DuAokr+BmLXECegBH 69yha8s6YgLpnTfsHBEfwtXNqVMFYAGUF/1PuI7SIomI8KduB02cVGNVtm0aY79zPyZt t2UgMHIOFWP+i0eqBAP5QWIJ/H+EFC7cpxYzVSzNVo4B14P2x06CRN4Y77ZzzhTsJafx Z40Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si9697715pgl.192.2019.06.24.01.55.52; Mon, 24 Jun 2019 01:56:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfFXIrt (ORCPT + 99 others); Mon, 24 Jun 2019 04:47:49 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55339 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726632AbfFXIrt (ORCPT ); Mon, 24 Jun 2019 04:47:49 -0400 X-Originating-IP: 90.88.16.156 Received: from localhost (aaubervilliers-681-1-41-156.w90-88.abo.wanadoo.fr [90.88.16.156]) (Authenticated sender: maxime.ripard@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id CC5071C0002; Mon, 24 Jun 2019 08:47:37 +0000 (UTC) Date: Mon, 24 Jun 2019 10:47:37 +0200 From: Maxime Ripard To: Yangtao Li Cc: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, davem@davemloft.net, gregkh@linuxfoundation.org, mchehab+samsung@kernel.org, linus.walleij@linaro.org, nicolas.ferre@microchip.com, paulmck@linux.ibm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 02/11] dt-bindings: thermal: add binding document for h6 thermal controller Message-ID: <20190624084737.k5stgmqi2kx2p52o@flea> References: <20190623164206.7467-1-tiny.windzz@gmail.com> <20190623164206.7467-3-tiny.windzz@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ivprrpimudesnwlt" Content-Disposition: inline In-Reply-To: <20190623164206.7467-3-tiny.windzz@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ivprrpimudesnwlt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Sun, Jun 23, 2019 at 12:41:57PM -0400, Yangtao Li wrote: > This patch adds binding document for allwinner h6 thermal controller. > > Signed-off-by: Yangtao Li > --- > .../bindings/thermal/sun8i-thermal.yaml | 71 +++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-thermal.yaml > > diff --git a/Documentation/devicetree/bindings/thermal/sun8i-thermal.yaml b/Documentation/devicetree/bindings/thermal/sun8i-thermal.yaml > new file mode 100644 > index 000000000000..2c5acc61ed03 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/sun8i-thermal.yaml > @@ -0,0 +1,71 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/thermal/sun8i-thermal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Allwinner SUN8I Thermal Controller Device Tree Bindings > + > +maintainers: > + - Yangtao Li > + > +description: |- > + This describes the device tree binding for the Allwinner thermal > + controller which measures the on-SoC temperatures. > + > +properties: > + compatible: > + enum: > + - allwinner,sun50i-h6-ths > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + clocks: > + minItems: 1 > + maxItems: 1 You can drop the minItems there > + nvmem-cells: > + items: > + - description: ths calibrate data > + > + nvmem-cell-names: > + items: > + - const: calib And for these two, you don't need the items either, it can be directly const: calib (and the description for the first one). > +required: > + - compatible > + - reg > + - reset > + - clocks > + - clock-names > + - interrupts > + - '#thermal-sensor-cells' > + > +examples: > + - | > + ths: ths@5070400 { > + compatible = "allwinner,sun50i-h6-ths"; > + reg = <0x05070400 0x100>; > + clocks = <&ccu CLK_BUS_THS>; > + clock-names = "bus"; > + resets = <&ccu RST_BUS_THS>; > + interrupts = ; Did you try to run make dtbs_check? That one will probably not compile. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ivprrpimudesnwlt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXRCOKQAKCRDj7w1vZxhR xdBPAQDsYR1iG7lP4B3btdotbt4B3Mnzh74qRV6goFe8yPrtVQEAqTZEFyHblHwJ MP/jYXkzBszWwvzwTaG37gmvGqItzQg= =EY/h -----END PGP SIGNATURE----- --ivprrpimudesnwlt--