Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp171144ybl; Wed, 21 Aug 2019 17:01:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKWeRhdSEowIVuxLPE/Mk8dHoQI3CY9PmiNJZI9/ffbkvYsY/+6ZOehT3d1QjcnZQnaInf X-Received: by 2002:a17:902:f30f:: with SMTP id gb15mr36870959plb.233.1566432066708; Wed, 21 Aug 2019 17:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566432066; cv=none; d=google.com; s=arc-20160816; b=lVK/QIfYrghoCNOfEL5duuqZkKyD6JWAkx0LDUwKX/QQpfKrHmPKuBxMieNzE9v241 44uNHFhFsAdt0IHJUXcryNBDrudOcPPQ9Z3/8GLxI02bAwTSX0/QF9VihTvapGwwvGzM d8pWuc3vCoRy9tBbwICvpxiQx99TVi6A1UtCyZSJnrTAMZpOm27Cyz3zZRv7NkioaEpY gjJUZNRoIhK+o4LZY2MhdHU+rjx+mO+W2ZYGpDqvjdThlruXLv6SO0Zt+q4P9qFb2W/6 iLUGmmWUA5tE8/6rqmR7s8kZ0J/BqhAvspj02nrW2gsglopIznf8xipKy0qaPksM0aeO YWWQ== 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=XcX2XfXI5RWl+qmPGtbnaP1+JiH+jtO4YYoKGP+64Jw=; b=RKly4Z2fSFfqdbbdvu227JmcguoYTq2F8iYVA4T+5a+fZOwU5yBu2McGdQXhnnBbAV dW/MVt6wiWfem/cPOfeikL2oqUJI6fgIAIFGhJ27U3pI0Z6PZgqX4woRCS8VcNW+PBXJ gsy/ugdJA/OPdwZMzjw/eGVH/jfmW1Hle32I099xebuKGTZ/w3yHw1SoT0LPLbdBae7j vJG3ifLcTgSX3doJkzVuW8poPC16tefD6pZ/hC3UaZnjZjvzPZHvFQW4/4ceFaM2PJU/ MxGGS7FR9ovTgSs+/nOXAt3AAGHFkF4m2xJUmz9YgKFW08SKDS4feuLC+1R84B1aKK8R iK1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Y19lRcDF; 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 h34si11353546pld.78.2019.08.21.17.00.50; Wed, 21 Aug 2019 17:01:06 -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=Y19lRcDF; 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 S1731140AbfHUWY2 (ORCPT + 99 others); Wed, 21 Aug 2019 18:24:28 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34463 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729788AbfHUWY1 (ORCPT ); Wed, 21 Aug 2019 18:24:27 -0400 Received: by mail-wr1-f68.google.com with SMTP id s18so3504347wrn.1 for ; Wed, 21 Aug 2019 15:24:25 -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=XcX2XfXI5RWl+qmPGtbnaP1+JiH+jtO4YYoKGP+64Jw=; b=Y19lRcDFSb95UM2o4oHaVdAKInX7LjtGZ7ONvY71k8sb/Qi4XJNB5NDm0gZnNN4X7m vNc1hVwSIMSEFjOv1lkFOHTZ1V9W26/uHhYWFn/Srei6PxJpDIF0gAasNX14rLuRZ4Mh m1MSnZcfCTJ+ZtRwjEmGq84hSXItsG/4WnwE3H4WiM3OqI6ZsuufCsxY1bZimNfMcBVE IDLvgqkRptXGX4iul+cGO8JqMB+n9kJiwCSJgSFQRnfBqc+QXSDOJBq6yie8VCCyaBX4 ni0i6EQ5dKFOjV1IWf19d14VDfXrE/2LrshZ02orC624BzJvRl+WRTMxcVbcbiLx34wH JLDw== 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=XcX2XfXI5RWl+qmPGtbnaP1+JiH+jtO4YYoKGP+64Jw=; b=S9DbC/hkpjL6uvQ7FCae6eoaJOtjCMmGQY4pwGi9Y4Jw7k/JcvUvOJ+0sBvDEV8OYL PMEx55jNPfMbIuYY4zj+WEvH2NkXwBAadLwZTHZztsXIT/M3ktvLzb7XZo/k5TX44yIX 47FpSU9J2/JUg5MPrppJO/JSeTRAOf4Uxj9hQSz+EbxcAhW4J0a/wDQPHKJ0Q+x9hUBs DKKb870lcgUP4kHEbLrgFK94M03buQAtL2KETWFn1ccEHvGUOu9EAHtnZIN+MsdcIvKl x6pJYs5NFQjse3tvifmJnpaWsJNPWzn1Mr+NmqUSICYT+r6/ZWJYL/KHRrJIFrdu1vT9 5xcw== X-Gm-Message-State: APjAAAX4sGdzcyk49gwSJy7WkLegjdqSh1eUziaavNirOsHw3vtQuX8z lm2YWyqdY85xIckFsnru89N/dw== X-Received: by 2002:a5d:6606:: with SMTP id n6mr45412511wru.346.1566426264948; Wed, 21 Aug 2019 15:24:24 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb1d:6e7:d500:82a9:347a:43f3:d2ca]) by smtp.gmail.com with ESMTPSA id f197sm3548549wme.22.2019.08.21.15.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 15:24:24 -0700 (PDT) From: Guillaume La Roque To: 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 v4 1/6] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Date: Thu, 22 Aug 2019 00:24:16 +0200 Message-Id: <20190821222421.30242-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190821222421.30242-1-glaroque@baylibre.com> References: <20190821222421.30242-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 Reviewed-by: Rob Herring --- .../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