Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3812560ybn; Fri, 27 Sep 2019 11:44:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiEQjrZ1tiU8tGd5uJOv/kUxGTjactWlTvzW3IuRtBFF8GX+DAOx3KgVaZHydKggtkSUHH X-Received: by 2002:a17:906:4d0f:: with SMTP id r15mr9168888eju.147.1569609872710; Fri, 27 Sep 2019 11:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569609872; cv=none; d=google.com; s=arc-20160816; b=l4dWXpQjCu5ojqw4a5/x4sRN0yVHngKFtjZNU43f78RF19jgWKvZMg+dbyrQ8s+ikV +kO3Y/7E8B+Bz0cZLWI9xpdtNkpWHRTguYcGyLnMMUUVqhB55Ma4Nn9d2oKGfjZ3kn7B Sn28pfC1QgvKB5YMFAsSzNVi8WbwQ4WT3TEUdY2oP7+n1ziQuMkrKrPVGbGuo6UN8xpq ViaiaLX2QhJAilsHZWfRp3kYaCmAj8beFqMjaonwqL1r86Empqjf5dy3QziBz+K3IUjT IOH0gHUs7JKe+qWL1a7vp5OFi7f8KXIKTjsBb6AR8ylDK59XqgsEdElnw0w3+gBR13oQ /k9g== 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=A7GpxLGlLYw3HkMVG+BM5XS7tFcPFrOQhwBga2ekQyyYUmqofnAwNHYEJ2tvJUn1MG yodLOYvpKQhg6Pwf9NxiQiqWPmoPZm8ZiHTQTFXB++6+tCPyMZGx44BjtzrTLenbvRY2 +gIAupSi4hHxy3apjlysEuFZLjnPjPhzgU7nn6Dv1nmqTRFPh4QM9a/yGtiFekt8QJNl UE9Io1bZ/OqiWJsGESMLLaUycqfeDTpwSbmz2NCmIjRGMfhWCEsBa/jATUfgZE/oCBek 8KIXnhxuH2kE3RZcvBhl4TTLL/+Dc34ArWTztK5Xb0Twhqz2CSe0HeKxpWCTlYHbrXkR WeuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=kaYBd8rH; 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 d27si2133744ede.381.2019.09.27.11.44.07; Fri, 27 Sep 2019 11:44:32 -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=kaYBd8rH; 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 S1726824AbfI0Sn7 (ORCPT + 99 others); Fri, 27 Sep 2019 14:43:59 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:33096 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbfI0Sn6 (ORCPT ); Fri, 27 Sep 2019 14:43:58 -0400 Received: by mail-wm1-f68.google.com with SMTP id r17so9249445wme.0 for ; Fri, 27 Sep 2019 11:43:56 -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=kaYBd8rH9bcXTFA4OPZMOwh+968cPJqFoj1MvvNeruj0/cWDGcsTCB+MHNAGiPdQHs 6btlJ/k3MnKZr6f1FfeJA6aIdjjQz0kxPN1DljwbJmW1iXUUG9Tj2FhnbxuwcxvfZJch sKRCca2nV4FS3xxPw9gQ1v79iB0vUujfaodA0H0JbitwjodhDuxPteWzuheciFlZZHp+ bq9PFerB2M4+7MsLNtfZuacAeaMNGZS1HN98HBErZA+y1Pc2IyqQoZ6JfR9t3nK5H+02 c4fA+1j0rcQPvGNCOxxlxs0j2P+7PEiM1Bu83PooDzArubKpXFTubl+lE5Na9f2nBKgN HbjA== 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=HwwFzABbEXW4+oWB6LJZNRRe8V9IVZ5P6AedCzOx4ULcd/9j+gwTjJ43TdV93KZFR+ E4p3giOn0ZV8TnO5Yy01EHTNC32qJgkxL4X0cMKGuFHkKo149Rd5jgfZxcVfmrWoCFEK RRKNlt5c1HGbQPuhe9eOjM4KDwth2KV5mjn/9TpIcry71zKyKMP1VxAAntFAANKOLRBn ZenrkyVhFy17BlXiwxwPLLTbTjjeMoDabR5d2Sl4UPVdpKQwE9unEW1D5uDPvWU033VX Iwvyuk7hHaN8ioYquFj/x6mtvdobtpEA83WVmVv7X/UisIjOgBQZPhZ1F23WiDGj7bm5 F3qA== X-Gm-Message-State: APjAAAUuCv/HS27vn5YGBllBcVLRmIVKAPy9TTlDDhrrZkZQI2AGB3eW rzvzOzaU87WfaOvPVaFOQ24/MQ== X-Received: by 2002:a05:600c:230d:: with SMTP id 13mr8714597wmo.114.1569609836134; Fri, 27 Sep 2019 11:43:56 -0700 (PDT) Received: from glaroque-ThinkPad-T480.home ([2a01:cb1d:6e7:d500:82a9:347a:43f3:d2ca]) by smtp.gmail.com with ESMTPSA id r13sm6246272wrn.0.2019.09.27.11.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 11:43:55 -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 v6 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Date: Fri, 27 Sep 2019 20:43:46 +0200 Message-Id: <20190927184352.28759-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927184352.28759-1-glaroque@baylibre.com> References: <20190927184352.28759-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