From patchwork Thu Feb 25 18:33:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 12104703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B57FC433DB for ; Thu, 25 Feb 2021 18:36:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D523264E6C for ; Thu, 25 Feb 2021 18:36:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233871AbhBYSfq (ORCPT ); Thu, 25 Feb 2021 13:35:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232473AbhBYSe0 (ORCPT ); Thu, 25 Feb 2021 13:34:26 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8310C06178A for ; Thu, 25 Feb 2021 10:33:45 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id 201so4188006pfw.5 for ; Thu, 25 Feb 2021 10:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9poB+9UvCsAftg2exikJeHln2VIb8dM063unlt1wkfI=; b=mgZP43UgZp7Mv0362cfeFUR5EQ0biY1rWtCq3oMV4iu1myOvda/j6Zbz8ZgNMcThKU ZWjYx3ZhoRe4osSFp8i2uB5uT4+LfyP/BK58E1HyYvujCwxZUQJ/h7Nor2yjqqmdGuCy VDkBLwXJPEjBluNdHGznEf8f+Mi5PapPxp9GA= 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:mime-version :content-transfer-encoding; bh=9poB+9UvCsAftg2exikJeHln2VIb8dM063unlt1wkfI=; b=XInWU+SwDeIzicLPJQQlERwL6S3nVFp9V/ytq/mTPfQndGjE2W9doJpCg3RjnxIVFq hQAEX/UXwqrP3rtiEu3oBLD0svsj8kppX84yGqRzcQ1XFY7/lD4A7qGnC+DgZxw3VkG8 bbUHaTA5anNHn/a7Qk1VnBGcxgxA78W92+vg+GnqKoM5oPBlh9lq0Jmm+OCt3YVvPJ3b oL0IK2pPbvXlLrwZlTmWTHd95EUTWvOtW2MjBY0gzzd9yzA9IKqKRGQnYFxVLW1ZN1hz BkUQFHbJ6obnCNHAhbP0dAkBQJhUJ9HZ0j26H1NBcY/3TJ/wbrfLz8ta0aQAFknvB7Lb 3dGA== X-Gm-Message-State: AOAM531ma7nZ6XdDM8ex1rggYJns+3VhhHDvnac6l3iWsnKSt1xULOiA 6suo74zYZdHtRiPKmouDro9utQ== X-Google-Smtp-Source: ABdhPJyKnckjWKnAALD0HFPKl0cdT7zoyJqux+UOTjzVjpLDhGZx1TCNA98yXyiYzkPn+k1PgTJYjg== X-Received: by 2002:a65:4584:: with SMTP id o4mr4088843pgq.266.1614278025406; Thu, 25 Feb 2021 10:33:45 -0800 (PST) Received: from localhost ([2620:15c:202:1:1d8:8d0c:f75e:edd8]) by smtp.gmail.com with UTF8SMTPSA id l22sm6567782pjy.6.2021.02.25.10.33.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Feb 2021 10:33:45 -0800 (PST) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Rob Herring Cc: devicetree@vger.kernel.org, Douglas Anderson , linux-arm-msm@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, Matthias Kaehlcke Subject: [PATCH v2 1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone Date: Thu, 25 Feb 2021 10:33:34 -0800 Message-Id: <20210225103330.v2.1.I6a426324db3d98d6cfae8adf2598831bb30bba74@changeid> X-Mailer: git-send-email 2.30.0.617.g56c4b15f3c-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some revisions of trogdor boards use a thermistor for the charger temperature which currently isn't supported by the PM6150 ADC driver. This results in bogus temperature readings. Add a label to the charger thermal zone to facilitate disabling of the thermal zone on affected boards. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd --- Changes in v2: - only add a label to the thermal zone - updated subject and commit message arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 07c8b2c926c0..bda983da4eaf 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -15,7 +15,7 @@ / { thermal-zones { - charger-thermal { + charger_thermal: charger-thermal { polling-delay-passive = <0>; polling-delay = <0>;