From patchwork Fri Oct 16 17:18:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11842129 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2CE8414B4 for ; Fri, 16 Oct 2020 17:18:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D716120704 for ; Fri, 16 Oct 2020 17:18:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fcc+5EYK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="OJHthVY2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D716120704 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=8sxspnN+aLa4t2Y7jimIDG8yHxO3l0sOL9B+JmEl0+8=; b=Fcc+5EYKpbkBhQ7K7+6N2UWYUR pJQrCI8lmQl0h854N3XwHN6snf1nUvvMbu3uftLd7CTR46LX6FERFNVfOpSiHxQqST+bcNfPOYkZ6 GwdPk/kNL8cdAfozhP8LQ04WDmTwkkmjr+n2BMNmjdNucblBWRMw+xg9IKeXqil1hYXjmhkNIIpiW yfXVvugTHab9i4ovJ3iHrI+NjFWj6y2tgVr6MTiGT05P6RjM9IERGJpzTrvHcWt34Lyj7y5EOnyUC 9tPwouC83wtxLCXO51HzkDKRAHPUh8uQGIqCJbwhb24PoGm0XXVgJXyTnuofY9q4ljyF3ge3A9dav Rdq5GyEA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNV-00066A-5J; Fri, 16 Oct 2020 17:18:53 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNN-00063H-Ol for linux-mediatek@lists.infradead.org; Fri, 16 Oct 2020 17:18:47 +0000 Received: by mail-wr1-x433.google.com with SMTP id x7so3810274wrl.3 for ; Fri, 16 Oct 2020 10:18:43 -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:mime-version :content-transfer-encoding; bh=QxRj1doknn/xUt9dt4A+Dfj/59qnD0jj+WzuGpoEtw8=; b=OJHthVY2orfEBGnmd+zroB7jVXNM/DeKLqSGVpZ237xx+RcK4Jce1K71EzuBXxveCB ntVMlr1EDOvkacSErILmcMMQ/8Nt1oC8Vl06ljz5KAqAzgzrm086j4KdS/LqFgo3XlOH UIiTLYE/P9oOl0U6aivd+z0xxMLbuPEwfDFxjNINSoBeZ5AKFpWKpx2nnYuOO80jQ7Rj dWzRPk3XLh3FKhAJlOHVy/+fY9t8gQuQviL02bQK1Ew8kAngA1Z2GIjFbtoVyKE8JSUj RwEx4mNmjXS+DobDktwxFxVmyIcwuUCsTeVT/2MtvdjC5FWo0sFMbL2rLyV+8f0Y2qPm Ry6w== 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=QxRj1doknn/xUt9dt4A+Dfj/59qnD0jj+WzuGpoEtw8=; b=AZlfNI/YGj1ljUQAV9SPA58KGpnxfg8kJLHqlBydgsX8druACL7IT+iCFk4J1PVYme tO60WLS9muuzHn37h4T5ALBfAgBpBDryFy8iWIT8FEZT/U9PcTWtZLvNA68fSGaIruiN voE80JDNYtPFyOeLzF2VA1ZIF4ijGwqarYnjK/OFa6qvEWvwO8u8+PK/iyrgASCgg5ND XGnq4QwpZXoCN5CZts/ldbgeaS6iQk1W8CkcAfk8B8NGeogDBFCGZMBMcx1cd2IYoDzF 40OCblYRA6BA7yDJ1a0mTrU0hg3ghZw7c5Lrm6jZSb6AitiAvMdSUJZTcUBq6b4FJbQv GZWw== X-Gm-Message-State: AOAM531tTrBmaIyPDqducE/HOfe9AQvqCG7rwLPl/M/TtPJzh1ZEBAPx tBp7c2M2YBr8fEhKL4qJzmuxlA== X-Google-Smtp-Source: ABdhPJxMMoIjZdN4eGMUPlC37fq6cmHIzrXVd95AulMRGp1cDZLxwZQQ6TAKQp45QX+vpzgJvkntmg== X-Received: by 2002:a05:6000:4c:: with SMTP id k12mr4887656wrx.278.1602868721280; Fri, 16 Oct 2020 10:18:41 -0700 (PDT) Received: from localhost.localdomain (211.163.185.81.rev.sfr.net. [81.185.163.211]) by smtp.gmail.com with ESMTPSA id o6sm4177162wrm.69.2020.10.16.10.18.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 10:18:40 -0700 (PDT) From: Fabien Parent To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: nvmem: mtk-efuse: add documentation for MT8516 SoC Date: Fri, 16 Oct 2020 19:18:36 +0200 Message-Id: <20201016171837.3261310-1-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201016_131845_973102_5730DBB3 X-CRM114-Status: GOOD ( 10.53 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:433 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthias.bgg@gmail.com, Fabien Parent , robh+dt@kernel.org, srinivas.kandagatla@linaro.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Add binding documentation for MT8516 SoCs. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt index 0668c45a156d..ef93c3b95424 100644 --- a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt @@ -7,6 +7,7 @@ Required properties: "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622 "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623 "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173 + "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516 - reg: Should contain registers location and length = Data cells = From patchwork Fri Oct 16 17:18:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11842131 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B53461C for ; Fri, 16 Oct 2020 17:18:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B4D7320704 for ; Fri, 16 Oct 2020 17:18:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="flGWNGWp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="oLs10Xyg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4D7320704 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=d8Byvilc5hAXPhtX2Ei8Wy7mQv4ulkjYMggrIGYQwKg=; b=flGWNGWpsPX0KFDxVgbQfOeo+ hxzfteIO16jzNVOLwCiedc1BVJn2Q/OkWPETeUj9jnKAMLCkbnN6PTmTwmieSPYxl6cTTxXIp0Yo5 fXkKHZNYPpioCe2M7ftp6tIwamc3U6Nv2HIrHFV0tzvjMKgAQxzFgPNBt0egJbRPqY3ZsWtMHbKOs HGTeZ1/Fv4b4YPcjxZB3DezlW7IYyzLRBd5HwWxJMzjKO04BKN9g0e7VSyKItpne4oiNUcadZQ+yj tu4EbeW72U5dAHeGLqL6cuGAFo7NRdeuwoYj5jzt8z1NWYjsdxJJfkZcYQT4IHIcZ6iHT/3XnxPt/ nSqWQzlZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNV-00066X-Mn; Fri, 16 Oct 2020 17:18:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNO-00063U-Jq for linux-mediatek@lists.infradead.org; Fri, 16 Oct 2020 17:18:48 +0000 Received: by mail-wr1-x441.google.com with SMTP id h7so3805513wre.4 for ; Fri, 16 Oct 2020 10:18:46 -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 :mime-version:content-transfer-encoding; bh=k8fZ83rbItOfrAada4wAXII59ZJKaeD2CQLTNkxUviM=; b=oLs10XygoSh32dfOJxiPNMoPVi77vIwMWuVXgMucmKTPoqmhNFLucdxygXGUWgDGfS pD2syNepnLwR/xMzjhvePY8UStVkv+XhBG9LBrMj6isWIQQWkeA4gYIDGhdgEdt/YlIS LRP9Q4dplPZe/qZNT7pJnzJAMCYZdCT0yUeIj7ZtDmDqR9eeKlwo3d3kRrJEOsPsDAzv p+ArSc+26s3TvZ3iC9MxeM1tmHIqvqMQixwelvS1IRNixA7fE0ySdn7jPNDcKPWbVCcM IhEsNuKvp6n8WrmsX762gQ2AjHHl6e87f5YO2/zcn1GIVE/VlBGlPBF2IF5ApxOsAj1D NFTw== 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:mime-version:content-transfer-encoding; bh=k8fZ83rbItOfrAada4wAXII59ZJKaeD2CQLTNkxUviM=; b=ptT3cN2y79nLPAWlixlBKMqrdqJxp9Qz5fopJxDDpklclX0JiUHObBzeSE/4AhMgwM A3uhfs5AOvDQJCCNSbHmBODqN17QT5XZCPBOSqbRrAxeAqh+UsGQA9g8wc11t8vuNVZw qd6D0If9xmC1OS+dAmF4yFeDVc798c0qsdBPcCNcPTRlZa2DTVrvz5rboKCyy1FvI4Gv urB0y419OP6PoRWU0QH4PDRk/Zuyu+I5UpdM4LNSb3DQh67uJ0iDI/WCWp3LYIZAc7XD zgseEafcjF7ZP6kx/gqJ0+G613gCvjOTcI44zdC7OUxXfH3zwVuySmpGSHU24ODBdphS ihYQ== X-Gm-Message-State: AOAM533Oioqo8JaJMqZrOYrZd0lN2dLhUnzDJo4Gm1WzhOu3Kl+pKebP jqk3dJMqj6BNbeSA5BQG6xXWMw== X-Google-Smtp-Source: ABdhPJzPV3iRxfbKZraJ0ZboKhAt324/xKTA7kt0xT/xD9dy/6SQ2FuelwK9uOcH8pouDe5RN1iUUQ== X-Received: by 2002:a5d:448b:: with SMTP id j11mr4993707wrq.129.1602868724237; Fri, 16 Oct 2020 10:18:44 -0700 (PDT) Received: from localhost.localdomain (211.163.185.81.rev.sfr.net. [81.185.163.211]) by smtp.gmail.com with ESMTPSA id o6sm4177162wrm.69.2020.10.16.10.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 10:18:43 -0700 (PDT) From: Fabien Parent To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: mediatek: mt8516: add efuse node Date: Fri, 16 Oct 2020 19:18:37 +0200 Message-Id: <20201016171837.3261310-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201016171837.3261310-1-fparent@baylibre.com> References: <20201016171837.3261310-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201016_131846_676727_000EBEE1 X-CRM114-Status: GOOD ( 10.02 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthias.bgg@gmail.com, Fabien Parent , robh+dt@kernel.org, srinivas.kandagatla@linaro.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Add node to support e-fuses on MT8516 Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index 89af661e7f63..18ddea519be2 100644 --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi @@ -237,6 +237,13 @@ pio: pinctrl@1000b000 { interrupts = ; }; + efuse: efuse@10009000 { + compatible = "mediatek,mt8516-efuse", "mediatek,efuse"; + reg = <0 0x10009000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + pwrap: pwrap@1000f000 { compatible = "mediatek,mt8516-pwrap"; reg = <0 0x1000f000 0 0x1000>;