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: 11842133 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 F04E6C433E7 for ; Fri, 16 Oct 2020 17:20:06 +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 17EB320704 for ; Fri, 16 Oct 2020 17:20:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jcl88oGb"; 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 17EB320704 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-arm-kernel-bounces+linux-arm-kernel=archiver.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=9ZI+Vl0XuOmTiPOYLFd87f0hJHBMCnoTPVvsbmVC600=; b=jcl88oGbYSCE1UlHDlPso8Sxbo Lw44MZJlZ0FfTpvT/FPaJFmnkaAMRMe5oVw/8yjKR1poFhRZOvYjZCP1a9FyeVzWKDKrb7rr0hsP3 vTEGCrhXn/FMQxShfNPrTQ839wGC42aCaFIpfcrHOceGCcHOHFPuUVK3L1OvkfVmeitu6HwQZSop8 ibxbo2S2AjwjMsXtcAaQuDlYcAkEmSQg5GxUWIpFfqx256ayQ+gGngotVasQ7ZCInWPTr2InZyj1L kQ04sldrNOE85OlQD604VJXKDTz7EFKGl/UtsY5EEZPF3dCWerOB4QPONFj3ElaiO7ZhwumQfve9i iAyGoI9g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNR-00065D-Rp; Fri, 16 Oct 2020 17:18:49 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNN-00063G-QI for linux-arm-kernel@lists.infradead.org; Fri, 16 Oct 2020 17:18:47 +0000 Received: by mail-wr1-x42e.google.com with SMTP id h5so3780343wrv.7 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=nQjvVkQqTpvfmnpChSQkru94xA0FJ5+8JfsQrghTgdqDLvvG27c8z+r/KZOJMTHaYd UMSue8R4K6FTyrcSnvdj7LS4b7jgDTZ1b0isCIvvzTex8/+8pV3ttrz1yKEumAsF0GdW mtXLFUUaMivIj2HeduCUK8QGO0sjT9j7/HAsNfovHuBhs3uXiBbV387F6wUhGkvuMV7B 8sNJrH4ImFkCRd0l4rVdjq85vMJgBAr1OSR9d4CfDBBdA9yJdUNXG9PqFv+Gd6/iK4nm gjSt+wXyDq6DDN2H5ptgw5ncG9iacGOD3WjdQqtnqHIWbQ3RvGLNuG6FqUI4I4eGI66V 4p2A== X-Gm-Message-State: AOAM5311kO73L5szejZcHyJn8ygRFofl5lCHYpj7GeCF4Vbe1PZLkZS4 nSo0Of8Wqyirr0nKfvv8GjrygA== 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_972816_0B14EDF0 X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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: 11842135 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 85B4CC433E7 for ; Fri, 16 Oct 2020 17:20:10 +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 066F320704 for ; Fri, 16 Oct 2020 17:20:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vVGLiDiD"; 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 066F320704 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-arm-kernel-bounces+linux-arm-kernel=archiver.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=NYeqxHZOV+bG9gp7ZmMNnIiWIkxOetZUzVg27x1UxyQ=; b=vVGLiDiDcIuANEBT5WbeTb5go qXdwTjHN4m1VdgMvmxnNbijpR1qFeWdFovhe/w86IPzg5WJ3G4nBpbUmvfDgIQlLpCvIzwQph0Mzw eR28u7ZX67hZTqgRhVH5JoS/Tb2xDG5anEqTsDVlSH2HZqllhJeX8K67SlJlQe/O4GbFAHT1tqGgf 8qAD4qvt6KT5Yd9DBvHmCB5tdsk2M2WUh0b1OzJ4KTpMBkmuO4AmjtBwgN75Z6eLhfO4EfSBIYnsm GXjZVf4IexKsOLrQjhIsGmP6XUgKZ+of1Q1y2hq14Y62y3z/5GE9xUHgt+nhAc3mLQNEhoyuAprvE aLouONUkg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNW-00066m-I3; Fri, 16 Oct 2020 17:18:54 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTTNO-00063V-Js for linux-arm-kernel@lists.infradead.org; Fri, 16 Oct 2020 17:18:48 +0000 Received: by mail-wr1-x444.google.com with SMTP id i1so3814637wro.1 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=Rruj+xBaVmNyHydxsmoIIF4B6kzSilI7yL3S1b7Et9hXuBY7mdeAlUa6PDizwPqUz2 QnF1x2BdjLK6k93qDzwQ1cayyiuJZuUv5X23simcktuBRIganIPFZNqaGzQe6L8GkAbP OqJQ+v8JtpwkXB/dTH2edayZJK4B9EXpB+jPYyUYAU5h993oiBHgzEVUUDD4nTuUj3DB fnRX6ThdXB55MlpviDQzNEkUvhvKzbcA2Q/zneAAJHJLixmOh5zrtLAtq+D89bAAxX7W m22NYx42DabcwLRRoQ6Bd2O5syqWi/cjtgEX7kvO6WhgBkexMi2AZ1SiIxDCyyvUhN6T UT7Q== X-Gm-Message-State: AOAM531Z1SuY/+6DsspI1r6NxsOBPI7JvL2W3CJFUhO9yEoaomNUOqR6 9DbUm69yG+5UjmXOjlCGtQ9+aw== 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_709223_1C9F48E2 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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>;