Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6717715ybn; Mon, 30 Sep 2019 02:37:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxE/OaIT/ecEciPVuS7QYv1FVp2IqZiZ/+V7KA6allDOfca1O13G5zqsJLAlSRKVmbUa9QS X-Received: by 2002:a17:906:11c3:: with SMTP id o3mr18743985eja.297.1569836220802; Mon, 30 Sep 2019 02:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569836220; cv=none; d=google.com; s=arc-20160816; b=TqAhGQsaIbeAx/4yQf94vxagO5Us6meYK8ONgS1+ayn/JoJclj6yPXPAMisINBPZaV wE3dlnx6IGMt/Qq/vK8HRCs5VyqwToIkodya+B3fQUCt9Ml2YiZWUE7MUwh0V2+g1gS6 9PlN55Ev+6qzfHFpNa8tAk2dfdq88CVBVgBdzvcuCy1uA9A2KU/hbBGHouuahP5GpZbK YXbUVvD47l+zPuylrYgSMQZcfJ+VPBnsDC0JJwMcFNHh5iPTs/rC3cQhK3S8/C2Rd4Cy xKh62vpbRChVpG9k6mN4vof6OlNWjRDzV6s4wDohgy+DpyFebvC4kQZvFgkVZ4xg7U/1 UqMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QV4x5NHTum/jLzU4cx5C+ZxMnkOgGxMeO6LpanKwV8Q=; b=f1CnYZQDgsAkmGL4EXK2LXi5fSv8yH93+rBKdmCbwJV0MN2QLZT7fEipx/andU2b6X 2ilWSvEDcVUDXTuA/FLFvwI780F0nMNWlJ8M8LOIPpYs1ALZIQ1VpS+EtqsHskM4+UGY FvgHWtr2LQruTlWDlk+lch7blJv4svoZDhxonPViUb5iopiBfHCCglW7eBzoBsX5KUSu 8duhtAhOGKOLYgGrWmcZa69zb5TUMiRHtR8syZL2+8Zw2XCzGroIlSiHX0fssdj1Lm5V LTy4pl6WoohVj3zjc4bIW9Vte7u5plDz0cOsG7aeq6v7B7bSJZG7G/HshWS+zOc7dDDo Z9dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZFWjyQ1; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si6502845edt.32.2019.09.30.02.36.36; Mon, 30 Sep 2019 02:37:00 -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=@linaro.org header.s=google header.b=LZFWjyQ1; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730376AbfI3JfL (ORCPT + 99 others); Mon, 30 Sep 2019 05:35:11 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:46493 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727884AbfI3JfL (ORCPT ); Mon, 30 Sep 2019 05:35:11 -0400 Received: by mail-vs1-f65.google.com with SMTP id z14so6257278vsz.13 for ; Mon, 30 Sep 2019 02:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QV4x5NHTum/jLzU4cx5C+ZxMnkOgGxMeO6LpanKwV8Q=; b=LZFWjyQ1EhPcpe/hpsLIH/Tabk0U7kboQRvjElnQaSeO8fb6R0xdxk4JfgVcnbizBW 96mxggGf0N0DiJ+UuxdB3g3NqOo301Z4YsMUOubGYkHzAmTE7elNh8gQ9zCmBRO6jMSt AKb9ZSZsSWjA2n9JPaorjb42bN4lxFzjiDS6ZdT15+paoV43KMuXz7RkOmmJukcdVkQE tKinjhMracv9Bb4eAZyrJ++gq/kdIqCEX2/z3DtOoK4JBogFf700W7TyS8x8H8s6xUbF uX74t+Lz741V5GFZPFumLzUJJAziOq050GnQfid4NiEgY21kp4fkolg9LF92zfrhoLWX 9cGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QV4x5NHTum/jLzU4cx5C+ZxMnkOgGxMeO6LpanKwV8Q=; b=f3c0Dvf3+gT0azOdO2jSpEWsL7nwf7OmDCqI1fVt0nng/uEJ7BR8wvYQ9dnhmlHot/ D+ysWjAMrmyEWA7i7p7ChQgCfqVifrgYLsST0M4tSLMZhia0jHVCVTDj0zYJQP5uZqxb pV32khZpQhmfyC9db2OEymmlLb6Aa0aBqM9xX2mmvCyjzMLOYVVAL5rwcaHsE0GYYdmM wPRmb2pnz1KHJxyzr6m0zmD+AiQQzeG6uaJDM/lq/Y36SpXL8c8YP4v/mtPhMo1yem2G X2QX5VqOKZ5BFKq/ORwQx1wtBVbwo0/V3Jnpfk6Js+Kf3NQF1UtmGTeL0Baox3SUn4sz RSmQ== X-Gm-Message-State: APjAAAW8O//mdf/J/u7uVKIu1psCRIhEgZu45kM03D4fbOxyAmIJTCuD 6bXDmKkIBZigiq2bQlz1TXsiFVWDSjj2aOWndBEUUw== X-Received: by 2002:a67:f058:: with SMTP id q24mr9102100vsm.27.1569836109918; Mon, 30 Sep 2019 02:35:09 -0700 (PDT) MIME-Version: 1.0 References: <20190927184352.28759-1-glaroque@baylibre.com> <20190927184352.28759-2-glaroque@baylibre.com> In-Reply-To: <20190927184352.28759-2-glaroque@baylibre.com> From: Amit Kucheria Date: Mon, 30 Sep 2019 15:04:59 +0530 Message-ID: Subject: Re: [PATCH v6 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal To: Guillaume La Roque Cc: Zhang Rui , Eduardo Valentin , Daniel Lezcano , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-amlogic@lists.infradead.org, LKML , lakml , Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 28, 2019 at 12:14 AM Guillaume La Roque wrote: > > Adding the devicetree binding documentation for the Amlogic temperature > sensor found in the Amlogic Meson G12A and G12B SoCs. > > Reviewed-by: Rob Herring > Tested-by: Christian Hewitt > Tested-by: Kevin Hilman > Signed-off-by: Guillaume La Roque > --- > .../bindings/thermal/amlogic,thermal.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > > diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > new file mode 100644 > index 000000000000..f761681e4c0d > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Amlogic Thermal > + > +maintainers: > + - Guillaume La Roque > + > +description: Binding for Amlogic Thermal > + > +properties: > + compatible: > + items: > + - enum: > + - amlogic,g12a-cpu-thermal > + - amlogic,g12a-ddr-thermal > + - const: amlogic,g12a-thermal > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + amlogic,ao-secure: > + description: phandle to the ao-secure syscon > + $ref: '/schemas/types.yaml#/definitions/phandle' > + > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - amlogic,ao-secure > + > +examples: > + - | > + cpu_temp: temperature-sensor@ff634800 { > + compatible = "amlogic,g12a-cpu-thermal", > + "amlogic,g12a-thermal"; > + reg = <0xff634800 0x50>; > + interrupts = <0x0 0x24 0x0>; > + clocks = <&clk 164>; > + #thermal-sensor-cells = <0>; > + amlogic,ao-secure = <&sec_AO>; > + }; > +... > -- > 2.17.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel