Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp610343ybp; Fri, 4 Oct 2019 02:01:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvZQSFT8JXv9ERmH53sTxouYBc3ohKPm62fSzSTPXENWQzGjNag8sPXmUjDdrOQX1XYNT7 X-Received: by 2002:a17:906:cc9b:: with SMTP id oq27mr11322829ejb.125.1570179718844; Fri, 04 Oct 2019 02:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570179718; cv=none; d=google.com; s=arc-20160816; b=Qc/wZ47ehirWnZQWXeis3itScYiDKhsxK1vejp7cu2kVKnV1SKJhqTGLpfvzN1OmZF ihqq9xNZbgGYGZrzpMVJXZ/7HJkoXTeT9d9S4Pk88tOU0eELbMte9T8vzLdKwuX2pPh4 RVUqgAiTypYgxUStde607NOaLf0N3JjMe6YHwPN7okCOabvc2qnju1Chn/yJ6cLRyQ6K 1CxJoctPuRQqwEyyb8L4R9C+pnQ9Ak+VvPB8NO62qrNmZuPiOqoK03HYrS6zMzR3MrSl UlacY6vLVe51lZFM0Gsi7+QKDwdcgTdTPtrnHKpvGA0WJUtenXn9tWxzz4IHnNohCR3I UITQ== 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=Qa7DsO3ACeYY6r1oXxNziZNrJiVR8gru+lXValqW5yo=; b=HlMb+PHUSX5jH/YDcI2wOzz61JY/dvON7rIi27FoVd5eh/ZekW7N8f6vLycRi0EzWw ajrPThRMuJ/9CSNbHIfDnIBAKnRAaWbO1meclXadH6tP2wEMDg7sFwn4ckYaqhxMwv2l CnJyr9guUsDT0deHGt+SY2otWghAXY4x6z9efJfYE1M56FM5tKDEvdG7eUsnwfWyYf8O Ejrl7cUtgacTnjT9nOApytEkqSYLXph0VbWmAysWY903IWeUEJ0PCd3DeBk9VtwOeeNd nt2KmQl4S3Bqza3gtaSr/8zedfgZBYYMB9OSE8x0TT83Hf87aq6fMu1IJAi2v2PR/5BK DIWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=iqiZDv6x; 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 l16si2616864ejx.141.2019.10.04.02.01.34; Fri, 04 Oct 2019 02:01:58 -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=iqiZDv6x; 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 S2387930AbfJDJBT (ORCPT + 99 others); Fri, 4 Oct 2019 05:01:19 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54069 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387836AbfJDJBS (ORCPT ); Fri, 4 Oct 2019 05:01:18 -0400 Received: by mail-wm1-f68.google.com with SMTP id i16so4950881wmd.3 for ; Fri, 04 Oct 2019 02:01:17 -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=Qa7DsO3ACeYY6r1oXxNziZNrJiVR8gru+lXValqW5yo=; b=iqiZDv6x4j5j7J4/i345eIHtj37AQf+5xW7hlIXOH4S/3064hPddqNd3O0p0FSN39v E1IZ/wcxnjvKYl7egSdMnEFegm+tshD7vZf7BF5bG+9WJ8M/HsreAdGCcbwUo6mWQaWD j19+wOFVmiEs0E2TDwQ9QjTgiILjeJD4wm/eqRKj4FxR6i4Sd+Rwz+WT516McZn+5Aak NpobKJQQLQXgF2w8nPfrsCPUSsbWsAfPthBU4T9rPLART/mjxAeMQnvmaddg7dzzW8Yo KhYbY0cHJN/86MEVbIn6VBySuFt8UGK7uo2BYdfd4KFufko+dcMMmUrXCX52Eq+Z/u9U f3Jg== 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=Qa7DsO3ACeYY6r1oXxNziZNrJiVR8gru+lXValqW5yo=; b=V0+dO7O/uaFii2dRgqj8kX2xEe+O3bouzYT7rZyzCg4aFuss3Eidcc0RJq1SsWVUcG VwKKJicyp4yHJwUsxtN1n6hA0hEbQDc3FHzIkeQU0fNEK+/FsYbu81FwZ93a/5U1KXZX LRZUA658D7ctaH0FESYfZ6UpWnB76ZNdfNk7rGg7I6ARYTfUaLGmyoH/wrofVcqWrpQe 3/pHYsfrJT0yMz8N0gk5P1f9n1x/l47n8hMpuudeRD0YjtQZcm3GzNvk1RZzQoAjaWwZ LKtRUgqCcJqB6AChCqzdbSOsC+MaX4bDggZqNacaLK3TiW2DzzHW8gux/ZVUFP8vb/EZ ZiBA== X-Gm-Message-State: APjAAAX47N91q0M/6wzUS35wxY4t2/zMSM2S93+Z7PrLv7bizO4yDFum n55wHa/MsTm1zs28x23mPDHDuA== X-Received: by 2002:a1c:a6ca:: with SMTP id p193mr9887223wme.103.1570179677139; Fri, 04 Oct 2019 02:01:17 -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 v8sm7765170wra.79.2019.10.04.02.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 02:01:16 -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 v7 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Date: Fri, 4 Oct 2019 11:01:08 +0200 Message-Id: <20191004090114.30694-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191004090114.30694-1-glaroque@baylibre.com> References: <20191004090114.30694-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 Reviewed-by: Amit Kucheria 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