From patchwork Wed Sep 14 13:27:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 9331491 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 646C260231 for ; Wed, 14 Sep 2016 13:33:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 555D629E55 for ; Wed, 14 Sep 2016 13:33:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49A7B29E57; Wed, 14 Sep 2016 13:33:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3212029E55 for ; Wed, 14 Sep 2016 13:33:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkAI4-0004Tt-Q6; Wed, 14 Sep 2016 13:31:52 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkAFo-0001eW-9J for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2016 13:29:34 +0000 Received: by mail-wm0-x231.google.com with SMTP id 1so31251690wmz.1 for ; Wed, 14 Sep 2016 06:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IROHRRLwGJ6rQ1mxQmM1blElndlUEedCg74jGoyrxKo=; b=D0C/QyjwuZEbGG2341MALDcRPFbucwexh3jvL3/u7N6MnNgL7KLl55Z5vMTssNfRKO 3mobA/PJeqf3FR7YxFT+CxmNu4BGUY+0Rn1nMWhLjPDpsnpYgie7ZHkAeF5YLVdej6i1 03SQhKn3u7YEyD3noHjtPUWyRdEUQEi8scgg0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IROHRRLwGJ6rQ1mxQmM1blElndlUEedCg74jGoyrxKo=; b=bi7QtfCiq+E4QiYeOkstVBEg0wGeO7+IH2kACROxjrtznQOb9J0h491zFc68mceptA shenmgO3RUUS0eCPlJS3wsdG/IaFePR+O8RbxUTWnbl2m9e8zncWJR1nbGnAumzyiRSX +flkvpDxLzpkqp6YJ+tPKetX84k+86fxykLdRbHIInpruQVavE8As9IxXzDys3KiQKLv 0EduXW97uw+5fOAOcjZ46pnwI+/EYPjb+CrABuG4eG/xQj2NKAwlhDvOiTz0wwH4Wung j2tu/eizKAVI8+zxrpJ/6yytylAKMnQAK7Zuzghswh45f/SOy+19UTlw4nXkVebjV2eu 52Rg== X-Gm-Message-State: AE9vXwNO5J6Kg8cnjIGqPcB0MnDXswDcmrA+h0Zj+HtAuQxjJLcYKCj6+O1beitvHrX5Yh+h X-Received: by 10.194.66.41 with SMTP id c9mr3172133wjt.30.1473859750341; Wed, 14 Sep 2016 06:29:10 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id c5sm4212812wjw.29.2016.09.14.06.29.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 06:29:09 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, devicetree@vger.kernel.org Subject: [PATCH 08/19] thermal: sti: Remove obsolete platforms from the DT doc. Date: Wed, 14 Sep 2016 14:27:46 +0100 Message-Id: <1473859677-9231-9-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> References: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160914_062932_513294_A2E3D2B5 X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.griffin@linaro.org, edubezval@gmail.com, rui.zhang@intel.com, robh+dt@kernel.org, lee.jones@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP STiH415/6 SoC's are being removed from the kernel. This patch removes the compatibles from the dt doc and also updates the example to a supported platform. Signed-off-by: Peter Griffin Cc: Cc: Cc: Acked-by: Rob Herring --- .../devicetree/bindings/thermal/st-thermal.txt | 28 +++++++--------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/st-thermal.txt b/Documentation/devicetree/bindings/thermal/st-thermal.txt index 3b9251b..a2f9391 100644 --- a/Documentation/devicetree/bindings/thermal/st-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/st-thermal.txt @@ -3,17 +3,8 @@ Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. Required parameters: ------------------- -compatible : st,--thermal; should be one of: - "st,stih415-sas-thermal", - "st,stih415-mpe-thermal", - "st,stih416-sas-thermal" - "st,stih416-mpe-thermal" - "st,stid127-thermal" or - "st,stih407-thermal" - according to the SoC type (stih415, stih416, stid127, stih407) - and module type (sas or mpe). On stid127 & stih407 there is only - one die/module, so there is no module type in the compatible - string. +compatible : Should be "st,stih407-thermal" + clock-names : Should be "thermal". See: Documentation/devicetree/bindings/resource-names.txt clocks : Phandle of the clock used by the thermal sensor. @@ -25,18 +16,17 @@ Optional parameters: reg : For non-sysconf based sensors, this should be the physical base address and length of the sensor's registers. interrupts : Standard way to define interrupt number. - Interrupt is mandatory to be defined when compatible is - "stih416-mpe-thermal". NB: For thermal sensor's for which no interrupt has been defined, a polling delay of 1000ms will be used to read the temperature from device. Example: - temp1@fdfe8000 { - compatible = "st,stih416-mpe-thermal"; - reg = <0xfdfe8000 0x10>; - clock-names = "thermal"; - clocks = <&clk_m_mpethsens>; - interrupts = ; + temp0@91a0000 { + compatible = "st,stih407-thermal"; + reg = <0x91a0000 0x28>; + clock-names = "thermal"; + clocks = <&CLK_SYSIN>; + interrupts = ; + st,passive_cooling_temp = <110>; };