From patchwork Thu May 12 12:24:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 12847703 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DF5AFC433F5 for ; Thu, 12 May 2022 13:33:36 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=DoSByeze0bg2StLMZZeVZyqxZUUI/+l/FIT6Qg0FxZ0=; b=fyGXbYfQsfP0e+ E8pK3XWHq8TZu6iKJkjRnLLj4/pRSBLVtWLLe9tgyhmR6pUPmwR67kRLzegodJ3ps6bUeWfLx4wUE aGtgnWFBBnLB2q7I7DR6ywX5XoWZnQliFZ0n3hkr5ThLRLTCeG0j8yVHSfn6bjiIgzcMy+WZODHxG l4xuhCANen0NuLiDzPsy3SN+VsU1yjpL1nVySOTdQbFbfgVFO1TCiVNu2n2lZquzMG6zVkiXPtUc9 UTH0rD4xRgamQHUh5eUqE91KmXzgrfenNXRUrCFdpedEJJ3zgN4Ci9eB7pAzx0qU3TY68vUAi0AI3 NmG468qksA4qtrpXmzwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8uV-00C5qO-Tb; Thu, 12 May 2022 13:31:20 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1np7s6-00BmM0-Mk for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:24:50 +0000 Received: by mail-wr1-x436.google.com with SMTP id d5so7024621wrb.6 for ; Thu, 12 May 2022 05:24:44 -0700 (PDT) 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:in-reply-to:references :mime-version:content-transfer-encoding; bh=befZQ9FS23fWMFZgR26WPFKtinCTSI/vcnKTdqrsD2I=; b=3BHa3XT/PM1d1Fqi4xdlw28bRsyHbtLMKPZ3xkV1jdTvwnDc4q2bNcQ7kJkdQqg2PG ooi6aQOfiOzLrON7fQvWJQHbOEFE1bXmTqDtJfD2uhBwfqsTPcwh23AVpQ2qO0zH/O3/ AV4mGC+ARmcDMVCotPPZkyyvkqbjDeVluw7uOg6vG95WukWDTm76nWqLWuiqvPFZCkSK a/+8/aQicU0gw32smoTPprxZLzqH5r8x5vGutquYVlUh38sRJ2K9G4S+UnfSijBUP0Ey 8dlgbR/MCauaFiOLg5bBREaJz3FqgsXlqhf7Ew1Ghva9ZT6WTCSbrrZ1/N/dJBtXbpZL 8+CQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=befZQ9FS23fWMFZgR26WPFKtinCTSI/vcnKTdqrsD2I=; b=keLJuK1+dPG7y+Gns1z72e3XZd6WxP1y19Okb7LSpzYjagdzqz1OmsytbG+og3aVL7 3zAPtxWvClCX4ts82MgwvEuUUQjtOsLwZwGnUD6FGCrgAm7PYJAiJKp66csqyqCa8lRm 3umbBU4lDScp5mi/xYQGDpmdbb5Dr2ti2pLL1FjvhFDKMr6K0y/gWuaO/xKEaGP45cR2 nk6RibbNOOhu+QfRgC4X3vX3lcPmbsmWg6awlFMtduspldz/AO1dmdvdfcfu22yiRSmS bnmnHjixnCeP/Q10VLzhDapujRTbWpWfcKyHhepNvLVav/307ZInt7hRlJR+biIX6gmV dlcA== X-Gm-Message-State: AOAM533VfofAOBAveuZQCm1yxtCb6YV/BSFZvPhZZKYs73y2evZPiz3j t0csZq+mADe8wbUVqD4d63sE9Q== X-Google-Smtp-Source: ABdhPJzl2RnwuKtjp0w2JW5qr0wn4jOfQ9nztXnOxQtRwboK1PADSs7vYj8oT4mnuqSVmq7o/fDkmA== X-Received: by 2002:a5d:47ca:0:b0:20c:72c9:d3be with SMTP id o10-20020a5d47ca000000b0020c72c9d3bemr26671903wrc.114.1652358283467; Thu, 12 May 2022 05:24:43 -0700 (PDT) Received: from xps-9300.baylibre (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id z22-20020a7bc156000000b003942a244f30sm3047819wmi.9.2022.05.12.05.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:24:43 -0700 (PDT) From: Alexandre Bailon To: robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, p.zabel@pengutronix.de Cc: rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, michael.kao@mediatek.com, ben.tseng@mediatek.com, ethan.chang@mediatek.com, frank-w@public-files.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, khilman@baylibre.com, Alexandre Bailon Subject: [PATCH v6 6/7] arm64: dts: mt8195: Add efuse node to mt8195 Date: Thu, 12 May 2022 14:24:32 +0200 Message-Id: <20220512122433.1399802-7-abailon@baylibre.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220512122433.1399802-1-abailon@baylibre.com> References: <20220512122433.1399802-1-abailon@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220512_052446_803768_60ACC112 X-CRM114-Status: GOOD ( 11.34 ) 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 This adds the efuse node. This will be required by the thermal driver to get the calibration data. Signed-off-by: Alexandre Bailon --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 416d37e07324..12887fb4d0d1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -13,6 +13,7 @@ #include #include #include +#include / { compatible = "mediatek,mt8195"; @@ -1248,6 +1249,23 @@ nor_flash: spi@1132c000 { status = "disabled"; }; + efuse: efuse@11c10000 { + compatible = "mediatek,efuse"; + reg = <0 0x11c10000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + lvts_e_data1: data1 { + reg = <0x1bc 0x14>; + }; + lvts_e_data2: data1-1 { + reg = <0x1d0 0x38>; + }; + svs_calibration: calib@580 { + reg = <0x580 0x64>; + }; + }; + u3phy2: t-phy@11c40000 { compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; #address-cells = <1>;