Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4083388ybh; Tue, 6 Aug 2019 06:06:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZ1Pxhaply2Wz51A/oWjJePSyHZ6eYkW+ngNWqj6FqCI+FoWq2onK2vn3nVRnI9Bpi8JMs X-Received: by 2002:a65:5c4b:: with SMTP id v11mr3031859pgr.62.1565096787006; Tue, 06 Aug 2019 06:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565096786; cv=none; d=google.com; s=arc-20160816; b=Kai5xjueJshBvH9fVTGw+RVXbSS964KLwSMaJHhUjD2ApbOnLUqPFcslDHfi9mYXJs U/rE1mdg9yWJKS8N9PCbAPqf0ZR5pD7dpleayHD4chfaeJghTvmZwW2/IPy5IiJ25XpU rV2GrS1QLLe3JnPtYj7gORk6k211U5mc6CGuujzhVLU661gwqd12mZ3tJu8GXLlMklZF rD+vKlBRloquEa175ImKXNHE5P+/jWyQGTMWpk3gzRKoW+4cakb4/TBE2d4ktZ5ppNRp sUO9dD4WkcFmWzTsrTL5vbif0t4sghPhrHNCdFe1p5/M3aHgXe0kGzk8KOrNA/UIux4x 3kPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=MU/41RFECDspWBa3sc+F8Zp39+RFWaJYY0sZSPREqvA=; b=jk41brQkGbc5K4gSRQpPDO9HKhYpiuxdmXp1yj7FDMW1yWM1oMzD9CarP+6U2aNLkV WZHz+LQM/9AfrjL2bBxRVzuYWKae5m2utWsohPKwG1FHEJMI/OJtn2IFHvYpeTXmcuTs d0a9cDrWIfy++k0k895gvYrS2hFUxvx6JM5uWupLM1fqnYqgmp4gfNWBYxnoS5Ll8IjR XqLWkRO6Et0gl/7wsfS2ctraVoWxiZjLmcn97YTzLyolquyUBa7IgMSL1fpYNAYjP+ix m53GmFqlI5cPYoVIUxIbKiB/gR94w3xx+/DJl3SgpLpd8pq86hsahzr9UYpIPCglikMk 9rfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dMgLNtg6; 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 138si46403268pfy.77.2019.08.06.06.06.08; Tue, 06 Aug 2019 06:06:26 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dMgLNtg6; 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 S1732068AbfHFNFU (ORCPT + 99 others); Tue, 6 Aug 2019 09:05:20 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50407 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731864AbfHFNFS (ORCPT ); Tue, 6 Aug 2019 09:05:18 -0400 Received: by mail-wm1-f66.google.com with SMTP id v15so78143213wml.0 for ; Tue, 06 Aug 2019 06:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MU/41RFECDspWBa3sc+F8Zp39+RFWaJYY0sZSPREqvA=; b=dMgLNtg6IB/G4JAEZ3gnOVQg+IAWnmWkO+EUx8o+nfCf2wRwi/CyWA9dWmAEgKwgDf +zeDEHMZRJ1mlwUPCPKsiT3dNwwWqJa5d1YMs9mOxV8yRESy3FvWmwBTK7OnJuw5Qrz+ tuo3Q86hyJMOSljkAjcn1r8DLep2abJXdysO5L6ymzWRhjDyXrjSzcajBI2rLVbS0psM Stmh5yfUBJE8/nXQMswyjU4uYeKk4TbUOWdFsRjI/WUb/ux6v/yHw0tgE4/jgW6cDtQU OGPrDhBsGbirU37wPrcDhnKn2x4n4EqNf8zgEirUsi6U53KF5Hh8qGO/mGOtOdrfqqMU xrQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MU/41RFECDspWBa3sc+F8Zp39+RFWaJYY0sZSPREqvA=; b=jQnwVjfXecDRCSCoUi4cfkpSqKlGUu+4Uf+DVU9yhOV5FvNwFR4S7hfTs0esO9JOAf ZMNjF1eFF9lGEETnL+5Wg4iMC2ZHGrYNvtg0CjMECRxrCgG9+nF8GKtPGH6W83Jw+Zs8 O6TI3GV3FNAHu6jom0zDurHiwfYoMztw4F31vjQ5cqvpxA0Efwzb1EuyN8b60cKuYsjd vQhI9g9EcayJHB36bfpIepEZNAsgwgMPQGIgxcgCOF5oRhnzjL4V42Flaak77+hxrL9p j928tph4fnnHssJdlewLznfne6kVshwukAPDLPekDyO9B4jAsHNrImWtP9tiX6G/0mH8 xDwA== X-Gm-Message-State: APjAAAV7ZTU5KNvKetsQZwaYgkHetminC6znD/D8qdCpHVrew6JBJecu xRcPLT3VxzEobpL2R+YmPjpPzg== X-Received: by 2002:a05:600c:2503:: with SMTP id d3mr5010397wma.41.1565096711633; Tue, 06 Aug 2019 06:05:11 -0700 (PDT) Received: from glaroque-ThinkPad-T480.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id j33sm201888738wre.42.2019.08.06.06.05.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 06:05:10 -0700 (PDT) From: Guillaume La Roque To: daniel.lezcano@linaro.org, khilman@baylibre.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 1/6] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Date: Tue, 6 Aug 2019 15:05:01 +0200 Message-Id: <20190806130506.8753-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190806130506.8753-1-glaroque@baylibre.com> References: <20190806130506.8753-1-glaroque@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding the devicetree binding documentation for the Amlogic temperature sensor found in the Amlogic Meson G12 SoCs. the G12A and G12B SoCs are supported. 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..d25e59113398 --- /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 Driver + +properties: + compatible: + items: + - enum: + - amlogic,g12-cpu-thermal + - amlogic,g12-ddr-thermal + - const: amlogic,g12-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,g12-cpu-thermal", + "amlogic,g12-thermal"; + reg = <0xff634800 0x50>; + interrupts = <0x0 0x24 0x0>; + clocks = <&clk 164>; + #thermal-sensor-cells = <0>; + amlogic,ao-secure = <&sec_AO>; + }; +... -- 2.17.1