Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3393446ybn; Fri, 27 Sep 2019 05:50:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLYnnGLN46g73yC2kTJ/ZSpMBvox7O0luvNu8uH0Zkv+A+twmzScYMg+FraVhNfPbzZ+Fg X-Received: by 2002:a17:906:82c1:: with SMTP id a1mr7764617ejy.187.1569588628281; Fri, 27 Sep 2019 05:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569588628; cv=none; d=google.com; s=arc-20160816; b=FRTrpCX18XbAs4JzGtbvtcyBvE1g/WEuxh6/cL2DAbxYL/UPRFSlvACkzMYzK9Y3q4 GvEll4IxVHXJqTWAGDtDaELjF0Hkk6/JkkpGlZRcSZ4FUXJU3jDQbwqnbY6oBEqpfLat Jkkjipd5h0DKMf4n4K/kPAcHLdGyhsucdBBkWGb49xstjV/eAaLau2Hmp+cSy1FmqJ/x Le270brLACGmEZYRFpf53mhSMIy6S9TzyKHKfYYmAVfFYCUoV4WhLyEI70w9ijHlsDc/ 67YL7OrXjA1zhk0ekX1dj2+bGNWz7cI6IrS54xOHYL5sccnfL5oAcR/T9hRbuuD19+7e GW1g== 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=aeDGNakdvDCwTy0gCOMkwdHE4LANquitP3dscaSQqkM=; b=lFRYGEV1eFeN4Ym/h3UCPx1lkmNZCOfFApG4zzABU461GWMF7l+a/1MZNTUOzXWBUn tpamGlGy+1Cj7dSAztcAIKwAnliKQ8qLFrzz6EfDif2ZawcmDlV3sNRrn1arinQ19DRX gTeA2ecRkVr3cDo/xYymhkjnSfvrCk3MGCJ/QOXFULraXt5niIYMc6tP1tCF6cSXX5P6 zA4/axx+etePDYwQAyDNInVKHWwL+eaoWzNskn6r4/y7St9robvdgS4fcyyZcFIESF8y jeOphfRnBV45N92jhL/IlV9mnzHL9GkwfT7ErK4EO4p9WnRjWZJHp8jH+T72XoVDUNZw VmzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OQhpBfcp; 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 b22si2542947eje.299.2019.09.27.05.50.02; Fri, 27 Sep 2019 05:50:28 -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=OQhpBfcp; 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 S1727734AbfI0Mr5 (ORCPT + 99 others); Fri, 27 Sep 2019 08:47:57 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40685 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727538AbfI0Mr4 (ORCPT ); Fri, 27 Sep 2019 08:47:56 -0400 Received: by mail-wr1-f68.google.com with SMTP id l3so2583578wru.7 for ; Fri, 27 Sep 2019 05:47:53 -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=aeDGNakdvDCwTy0gCOMkwdHE4LANquitP3dscaSQqkM=; b=OQhpBfcpOsi75i7MK05zao1qNF+c6CA+789h6xIiZbaDZTePZbFMkmg4+S/AkzcybG s7LtOeJQEcM8Tg2mrsr7mcQ4Dz62a0iXZ6Oxx/OF81hRye25+jReaG5Kd/0cpcNN7W4B LBjxld9HzH5mJGAlsqhwA/oYdIoeaOr8755YGFEYlAcq7rFMNnWX1Gwe5SrotyjC7AXp e3+i+owHxRsDsYcl7v04KzuyKUF9PCsW9Y34C8h0773Dqxmz0/024Vm4w2GUccQHeLYE NSOCUXSU3w63EbbIWalilUPUGw52KumrautjQxf3Pbdb3kBLBObppu2UKRHr53CCaut9 1evg== 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=aeDGNakdvDCwTy0gCOMkwdHE4LANquitP3dscaSQqkM=; b=f1Z1rFqefhHuY5OlHwQRWDoB+aFc/Z/MHpRlo4BoooddrtvAtdiQE6U9TxNNRyPCS+ 4UJAkSzMVI2c/0mvtmazR99B1YIYizPnlI0zOc7doR//zvhTcLGnaZAgC8LNhqh4+FHJ LTnUMs5kmq5w8b7x6S82WxB3CSin3yfeAJuh+JaXV9mHlYxomrA/k+CRt8a1zbOPOEtx xirgrsBS7ypmRVk6w4E2+aqwkpyw2/T+KBDaEgr7/rnqrpaTCbf9vpdewk+fe20oPQar Y9fNjXKwiy2ZxYKOdhVSCV3YXAQtt1HUTZxBV3KQRsrGF5oBEWew0+UT3e9brtMGWE0x sovw== X-Gm-Message-State: APjAAAU4UJiGPLgWotE8RuAGpuzeXme4UDhMajqKlWzepXDU8YYGe4kP jNV5pyk94H7R2ZiPmwfemjMSew== X-Received: by 2002:a5d:620d:: with SMTP id y13mr2717814wru.86.1569588473023; Fri, 27 Sep 2019 05:47:53 -0700 (PDT) Received: from glaroque-ThinkPad-T480.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id h9sm2985564wrv.30.2019.09.27.05.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 05:47:52 -0700 (PDT) From: Guillaume La Roque To: amit.kucheria@linaro.org, rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH v5 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Date: Fri, 27 Sep 2019 14:47:42 +0200 Message-Id: <20190927124750.12467-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927124750.12467-1-glaroque@baylibre.com> References: <20190927124750.12467-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 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