From patchwork Mon Jul 23 06:10:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10539653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C9DC112B for ; Mon, 23 Jul 2018 06:11:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0713F284C8 for ; Mon, 23 Jul 2018 06:11:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFB99284CE; Mon, 23 Jul 2018 06:11:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AEF37284C8 for ; Mon, 23 Jul 2018 06:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=vOwjyBonsV3BsWJdvDbNNW1lbifWRTNJzhis52ie/pk=; b=cW/dJPH85ug1Q/XGwyS9KTyVjV /pRr8ABJV2aFsGr8nzZtIXqU6IgEhHhpFmIBh0nqBeJNCFXt9etrR/s4f0G2pPE16t4mjenmayr+Y ZnAoMriKwGCBtEx3CVstH7mrWxX3PcLgf8ITctcFDMpQt2CE2R16FLvtCjZH66d8Set6VL7skJqEH uQIJKvr/qXJRPgiZ0+5SLrKj/lA792dJHmM6R2rbpRlg1OPZYoOcTLLleC2DKH5/euG4gVuBwga1X FjAYMsC81vJkJLhAKHX/1Iwrvy6iqDhVz/65IeINZaahJndYk1fGQausNbJ+vFiChoekPt9mA3q9H FPyNyRqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhU4J-0000t1-7R; Mon, 23 Jul 2018 06:11:39 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhU49-0000j6-AJ for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 06:11:30 +0000 Received: by mail-pl0-x241.google.com with SMTP id m16-v6so7797301pls.11 for ; Sun, 22 Jul 2018 23:11:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=LWxppdcTaKp3RkRdNBkHXwKcTm4kfWve60Wtgv2mUMI=; b=TVstDRnfD2iKsF/kQv1pOiQuoQ4ta7ArYXuSuhlVKlcvx82bzpkKOpUiisqEkvty79 sSBtBc1rFOQyJ86PvNV+GyllJsdjI07TDjVp24VhuQqDfG+VqQ1AvABommKdnDq7yRYx QAK3xRSd1nT89TpbXcgA3+gH1bHQHRWhMOP+8= 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:in-reply-to:references; bh=LWxppdcTaKp3RkRdNBkHXwKcTm4kfWve60Wtgv2mUMI=; b=JgVSnNPSpE5MawFQN7TtUMIC89URdzmJxJWSoyXQfOYkzaKJiyG7lVIEDc12+Y2eFN U9xuX9xriktiTO3VilVaRjP35uHGfMvP0tYQnU09C6J8iyaXGkHkLbAx9zCkobjTNZ2I LZI5N40A6EkUlGyXqls2agyoKei63NxWInJj8/Zmb3znY1JIfKuK2UzEdA/lkPdxAjkG 2eYmPcPfa82uGnfRZ2xvO2uObFlgE9Te+Vl+v955auAhLzLYqowri85cPGb+PIB7za8M IFSEm6qMtMdPdu2Qicj2R8Zeda9hUjYf0iQLrp66bZ6tLnwCoIJzcnIlAvLOUieYSQHf gArA== X-Gm-Message-State: AOUpUlFwDfKXJpWNthMxM03bEszLIXI681uJs16A7A2r5U1bQMTGwzoZ yYBYQLqz6pqxmLSVQR/Rlw5ueQ== X-Google-Smtp-Source: AAOMgpd0q4fqXlxdr4YJNVGYXLqDXg9eeFEqL2/2EsDIEqX8QNYJloDFwGXUouYrtNCgktQ/zy2yqQ== X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr11660175pld.104.1532326285498; Sun, 22 Jul 2018 23:11:25 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 8-v6sm11972303pfk.132.2018.07.22.23.11.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:25 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Subject: [PATCH 3/5] arm64: dts: sprd: Add SC27XX eFuse device Date: Mon, 23 Jul 2018 14:10:18 +0800 Message-Id: <9cfac30ae483e1ee1d7e3519b542d50a583f0b8d.1531881619.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180722_231129_361031_E9478464 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, arm@kernel.org, baolin.wang@linaro.org, linux-kernel@vger.kernel.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the eFuse device node for Spreadtrum SC27XX PMICs. The SC27XX eFuse contains 32 blocks and each block's data width is 16 bits. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 650bd68..fc68076 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -57,6 +57,14 @@ #interrupt-cells = <2>; }; + efuse@380 { + compatible = "sprd,sc27xx-efuse", "sprd,sc2731-efuse"; + reg = <0x380>; + #address-cells = <1>; + #size-cells = <1>; + hwlocks = <&hwlock 12>; + }; + vibrator@ec8 { compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; reg = <0xec8>;