From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26508C83008 for ; Tue, 28 Apr 2020 16:21:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EE6322054F for ; Tue, 28 Apr 2020 16:21:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EMQ3nMVk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE6322054F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WOOpVWSL1bJGsLHBA9rx/KfdU4HOm8ilNQ1sd6t/iGQ=; b=EMQ3nMVk7/iJ1P 1gEv96yUxCw/HCsZwWsjHzS9s2b6SAnhPjGTdSwwBSAn8MU3YW+73s/9woeo4psXP8Qpz9AAiVZS7 2NJYLwVbmXwbHOxpUQzUDULIvVLzjwzZyKxRlw3sEYg+9o55Z0tgI6tPIVPBZdQKYyQe15QStoQyV 1HTVQWYF/L7IEDnj1CSJ6Co63wIFKmv+96aPxg9QSYe3WXVOHFrnFgswTJF0s5156p60cjLDumDfx pzmQN+WjKlD6O0q4B3AOXW1pG+gNNAZzGFE9hSBbBuDjoOZn9QfA55nx/2cSszvFNxJsQXgOI7pdC m2mOziEel/Mr1pTwKc3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTSyj-0005I6-E0; Tue, 28 Apr 2020 16:21:01 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTSyg-0005Gw-Dp for linux-arm-kernel@lists.infradead.org; Tue, 28 Apr 2020 16:20:59 +0000 Received: by mail-ot1-f65.google.com with SMTP id g14so33555402otg.10 for ; Tue, 28 Apr 2020 09:20:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JMWn8pXLk5/8kiVuu/q953brTdcIK/PY1BQH6BDELfQ=; b=d7RpKSztxK5tzns5pc2Le2qxUVAz0t6tp42aYS09hY7J5m07D5rA9Fh6vGIiYOshhv ccvG8/s2LW4fL8YFHgOuHdJL/T0/XMjvenpqdUvrjYp8Zafs04VPoxkDs8MgxpMaHeqr 8kmBQvfq3SWpZ5tgT/Veg+4362I9zBBhioWGrm3Cq1iSIr75P2e7t/sCIG3X74kubcpG uXksl1NEX6Vg6eEb0hUCoL5ndEeSRbh8sl9bEn7+UiteVtLrqNsiB4h184Ov10OrxN1E TwAwxZy5LD88qR2lVIwYE/KdwU6as+Mkm+83xvlvFL4hjx6PdgW3THAfqjsI4Aw9gYcA niQw== X-Gm-Message-State: AGi0PuYgPsW8pNEB1e6E9ugE/jHbgiYk3Hlz8y5wa0kRYAq2p9rArSWw weFjdoUvrQylY5oHAqcXEg== X-Google-Smtp-Source: APiQypJy0uIwGwXRPYx/W8t8j3YChbO+ZkOIvCk2Wk0UGCLxk4GNBBlbC22NGmfDdkMnCXWLDnPaYw== X-Received: by 2002:aca:f482:: with SMTP id s124mr3552378oih.128.1588090857546; Tue, 28 Apr 2020 09:20:57 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l19sm4939433otp.16.2020.04.28.09.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 09:20:56 -0700 (PDT) Received: (nullmailer pid 337 invoked by uid 1000); Tue, 28 Apr 2020 16:20:55 -0000 Date: Tue, 28 Apr 2020 11:20:55 -0500 From: Rob Herring To: Kunihiko Hayashi Subject: Re: [PATCH] dt-bindings: thermal: Convert UniPhier thermal monitor to json-schema Message-ID: <20200428162055.GA27628@bogus> References: <1587013935-21760-1-git-send-email-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1587013935-21760-1-git-send-email-hayashi.kunihiko@socionext.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200428_092058_465439_43EE0F1C X-CRM114-Status: GOOD ( 16.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amit Kucheria , linux-pm@vger.kernel.org, Daniel Lezcano , linux-kernel@vger.kernel.org, Masahiro Yamada , Zhang Rui , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 16, 2020 at 02:12:15PM +0900, Kunihiko Hayashi wrote: > Convert the UniPhier thermal monitor binding to DT schema format. > > Signed-off-by: Kunihiko Hayashi > --- > .../thermal/socionext,uniphier-thermal.yaml | 57 +++++++++++++++++++ > .../bindings/thermal/uniphier-thermal.txt | 65 ---------------------- > 2 files changed, 57 insertions(+), 65 deletions(-) > create mode 100644 Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml > delete mode 100644 Documentation/devicetree/bindings/thermal/uniphier-thermal.txt > > diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml > new file mode 100644 > index 0000000..bdddc5b > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Socionext UniPhier thermal monitor > + > +description: | > + This describes the devicetree bindings for thermal monitor supported by > + PVT(Process, Voltage and Temperature) monitoring unit implemented on > + Socionext UniPhier SoCs. > + > +maintainers: > + - Kunihiko Hayashi > + > +properties: > + compatible: > + enum: > + - socionext,uniphier-pxs2-thermal > + - socionext,uniphier-ld20-thermal > + - socionext,uniphier-pxs3-thermal > + > + interrupts: > + maxItems: 1 > + > + "#thermal-sensor-cells": > + const: 0 > + > + socionext,tmod-calibration: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + A pair of calibrated values referred from PVT, in case that the values > + aren't set on SoC, like a reference board. So?: maxItems: 2 > + > +required: > + - compatible > + - interrupts > + - "#thermal-sensor-cells" > + > +additionalProperties: false > + > +examples: > + - | > + // The UniPhier thermal should be a subnode of a "syscon" compatible node. > + > + sysctrl@61840000 { > + compatible = "socionext,uniphier-ld20-sysctrl", > + "simple-mfd", "syscon"; > + reg = <0x61840000 0x10000>; > + > + pvtctl: thermal { > + compatible = "socionext,uniphier-ld20-thermal"; > + interrupts = <0 3 1>; > + #thermal-sensor-cells = <0>; > + }; > + }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel