From patchwork Mon Jul 23 06:10:19 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: 142547 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5680718ljj; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcKuWh+UVAZauVmZ0/Cirm6gXd6iB+J7NFo9ZOwXL/l/8+6rhe8eWyUmZ2GeyRIrOuGfGwf X-Received: by 2002:a63:ed03:: with SMTP id d3-v6mr10997975pgi.56.1532326291491; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326291; cv=none; d=google.com; s=arc-20160816; b=WOdGTO+w77crq0LNjomrNUJvbI1KqF1uXzZBOdCo8T3OeqEruf2TGt70U2QNp4FPCl Xq2jXjIYfZx6PcuhGz+uk8f9x4/7emu/U8CtWZI+nU2tuYC6DZ0uFQLrkVRjEqUkAyOV XYcKrwGf4lpRd202bX0v4+aB8MSbvbH3eQ1ZWaFmWv62XaNcGWHCP+UXNbv8FypjRKKp X43sCuikEEUfh0anzKalMPWVrfAAdXwyjO7ASxuaoQ3/QEh0NeNDcwyj0pa4UPdDepqO AxndxW25ldfo3n4uhf80nTpEk91rHjwxK3WHBZ0c/MknA0ROO/34xLWuVM50sStJQ/Z1 AkSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=F1ZckLlfDaPSEwNacw13xhe9FLi7ExB2944Vwp/7U3A=; b=GdMe15mMZe/Vl6KCTrSHLNBb/09H0W4gUdcFevU9pHuf/TDHUSPuvBC470QoeDIT/B eo+FbXpa/If3sBqisJj17tBMxsyNRNH9/+SdvSGIZQfaaDLBWFOcuCdQQyS52us8VmH3 d/C0VkB3NAN+Sy1pZdwSLjCondxITXf5/NrAUM/poU5sT7FT+SSifdbLhZH610Xh3IWh CBWS9sjUDMDEwx3QsPodlEf/eHhw1KL/bHhbIG8VT3mTpCIcCYo3DCNAT0OdNxmyIQ/H v3+4klwAbOg46NnU8abZv9o/btyCjwa0y5+/eBnoRlb6uhL+lJCvyJEzidKL8aMqVXob UqRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fALK6TmS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si8715331pfi.96.2018.07.22.23.11.31; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fALK6TmS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387922AbeGWHLD (ORCPT + 5 others); Mon, 23 Jul 2018 03:11:03 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:41925 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387921AbeGWHLC (ORCPT ); Mon, 23 Jul 2018 03:11:02 -0400 Received: by mail-pl0-f68.google.com with SMTP id w8-v6so7794800ply.8 for ; Sun, 22 Jul 2018 23:11:29 -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=xmVG/3H/SqHkjHCnVbBdoRYLrJINBOgTFoQQWr7Ye/E=; b=fALK6TmSm9Biy+erkbFPV0bEPlgrRaGAJyqDfjI5tXSGgdv7pzHXg22uS1eLAtHdOk MKG5BVwvZhZUCZFXoSU50TrzRizFlLEz1UulOsiEtPn/IMPMmrfWctopn40RV2mU04Tn OmRiHFnfchm4X+AO9+Wvz8MtzIXkseBSsKHRA= 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=xmVG/3H/SqHkjHCnVbBdoRYLrJINBOgTFoQQWr7Ye/E=; b=ebAr4BePSZU2/yOEFTAi3fmjkFx/Dg5OHOBHCYQZ5FyZezR8QMdtA9aFo820WrmQ+b KDdpcbA2wc/ZTt4GS8pWXqDtsoW3oeLyK7ui05HrNaov+Tq1itPNfJk8eqgPmu23nx8e ZQGOUIpjmos/EwO8LLfGIPxRxV76AHZpASmJjQbheY2pm1IjN4DJeCKAgDVBc3lXmPmN I2sWivtM68Q/Z8dqc0A5Te8czPNcZ5T7xhAo3CpMx7c8upcHWUyDAPLNypzntE0RWpS0 XL25Fi2hKI3iD5iNxI2XA4b+J+LgJoIV0rvWlmeWiwMAArsIgPB6pl8h0jyTVZqc0ulw ICiw== X-Gm-Message-State: AOUpUlFJb8I5nMlXIkfMmyoW2NcfvrV++8v1ZZ5lKje+gMctqq7BfV1p gcqwpYV5RARr8U+PH6tQJ8FplA== X-Received: by 2002:a17:902:b7c5:: with SMTP id v5-v6mr11806523plz.30.1532326289474; Sun, 22 Jul 2018 23:11:29 -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.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:28 -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 Cc: devicetree@vger.kernel.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 4/5] arm64: dts: sprd: Add SC27XX ADC device Date: Mon, 23 Jul 2018 14:10:19 +0800 Message-Id: <1b98cf860c86f745a1efea21f39abb2ba4d5493f.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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the Spreadtrum SC27XX PMICs ADC device node which contains 32 channels. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index fc68076..82bd642 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -65,6 +65,15 @@ hwlocks = <&hwlock 12>; }; + pmic_adc: adc@480 { + compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc"; + reg = <0x480>; + interrupt-parent = <&sc2731_pmic>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + #io-channel-cells = <1>; + hwlocks = <&hwlock 4>; + }; + vibrator@ec8 { compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; reg = <0xec8>;