From patchwork Wed Nov 10 19:26:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12692195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 407E4C433F5 for ; Wed, 10 Nov 2021 19:28:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 042D061056 for ; Wed, 10 Nov 2021 19:28:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 042D061056 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=kwHd/65K2ULXEi7kXkT1FOiZQ+Q6lGYvuLqhjSh4fIw=; b=WZ/zYnP8dB0coq JUke6y/41bMlWP0Kt91BDmvepAw8mkLdC2YTxaiVZ9hmeV9t1pZQSB1478RlB0yQqEG95w+FWo9ZG 7PtpJffRx3RlUuF9tGSvp4A1B7POOPMk0npakG+VQDbZqbKatoCmaF4dNMiD+SOlCbWGpgaOX7FBj vxBOdwhPAz29tSsaiEKK5XJOTyPRpsD7sxjqEWChV51dufsO4Nj5cGLiVlfculS5OI5bOmYxTB8WG Ep5XyM5V9N2biktoW//dyjDv1xABs8JotlcN2x0IAEo+qg+y/mIc/3LAoqnYha+uEf0pthFQtHGc8 NrvrBbb8IpGiTUiAUpVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mktF4-00691P-NY; Wed, 10 Nov 2021 19:26:42 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mktF0-0068zP-IV for linux-arm-kernel@lists.infradead.org; Wed, 10 Nov 2021 19:26:39 +0000 Received: by mail-wr1-x433.google.com with SMTP id d27so5837998wrb.6 for ; Wed, 10 Nov 2021 11:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67RflP8EMvWl3pms6qSQzXgIsULKMBC3q9PmqMFeHNI=; b=6Z+nm+/nqAhDht1rZGlH/mNfNev5GGs2XCS2grf4aCItbDCNfifaUAIHKy9l8+BQyj uhI5IDMkB24u5Qi++8U15ZgIa0ko5Gk8cXFmcZKIJJ4d8qzjA3Bw84qnik4R4seqk5NJ YV6ZCg8YWAoLspbhtwdWPjGtqTGSQ6g849jommWhtF6Q5VINSclLpCYLG9241Db6Ou3x sx2cvLka6b4WicRbGJsP1RmCistSuGKqaEPK8N7rU/itSFmuxm92sU3RqxNwCK6DsumG faG76Avn4/z2ySDBa0X/xgWlEPbL2Voq2dAkzqnNSa6hTLXjgMiLNP8D+KHz/qSQfheM 1qBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67RflP8EMvWl3pms6qSQzXgIsULKMBC3q9PmqMFeHNI=; b=CffvPxmsp96PAI4CjueiPs3VmbjFy5mjv1+ykSeNo1B824/PEdEFBxrG5gD+66OZit GLTjnYPRjum5r872w+COlwOUUVT97s5k6sGrrjTb9Ko4N4bSx790FS0BOxmHaeYCZf6a ea34XTfZqVj1ZwJzuspNanIra2xSdU5E211BzWaw9dQ9Kt3ewodYTilwJpzKhynlf7Lo hgesknLXC+J4cMjq/M3NffjzZGNYcPz536H/5LA/K03CpGXIq0elVv6SLLGURzxq7Q3J 0O9lVQE2oQ09M3Oow4SS9MW5UfiwI0Q/A+tEweBw0kToTOWIemEpu7tISXXNWvCu85Ex eBvA== X-Gm-Message-State: AOAM530aLvxt1yc3hR39hPNsDPaKgSLci7Hq5aFGklqc7YGiFDUn7QM4 dQ223hO92Mc2e4YK2STfHg+DTg== X-Google-Smtp-Source: ABdhPJz6hgMMPdrdO/rkxLRSJQ8E+hfok+dIssCwkfCmuwTnnaVIj/RzSyF9FTfspETklUhTNBXD7w== X-Received: by 2002:a5d:604a:: with SMTP id j10mr1781746wrt.93.1636572397342; Wed, 10 Nov 2021 11:26:37 -0800 (PST) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id m14sm1282370wrp.28.2021.11.10.11.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 11:26:36 -0800 (PST) From: Fabien Parent To: Rob Herring , Matthias Brugger Cc: Fabien Parent , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8183-evb: Add node for thermistor Date: Wed, 10 Nov 2021 20:26:31 +0100 Message-Id: <20211110192631.4182485-1-fparent@baylibre.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_112638_645208_EF5F3BA7 X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add node to be able to read the temperature for the thermistor connected to AUXIN0. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index 7bc0a6a7fadf..f3fd3cca23e9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -36,6 +36,14 @@ scp_mem_reserved: scp_mem_region { no-map; }; }; + + ntc@0 { + compatible = "murata,ncp03wf104"; + pullup-uv = <1800000>; + pullup-ohm = <390000>; + pulldown-ohm = <0>; + io-channels = <&auxadc 0>; + }; }; &auxadc {