Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5457383imm; Sun, 22 Jul 2018 23:13:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcpD5I81rbSLALDxdWf7SmiwA1bAibxwsc7IurJ/rdivvsm+22txFHfS3Tg91ht9arP/F2n X-Received: by 2002:a62:6941:: with SMTP id e62-v6mr11983066pfc.217.1532326407746; Sun, 22 Jul 2018 23:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326407; cv=none; d=google.com; s=arc-20160816; b=ESeBRdumvEydp/lzUIkvlVAEpY82184zeoEmM2g2kMbpgN6LZFF/s4O6+hTDXHebzh 1a0nQ9Gfteuaj/yM8b9284g8xZxixszl6kc5YVX1QL02K/DFs5c2n4gveNUFZa089k5+ DJTAggrIiHDE+3RjPzYewFYAZnMHv3jSNHNDgNQ0GxNEpjUOHggA75VON7xurs2StiE8 0i5tDf3oOXDGkrTCAv0webNaPChp5OGrOUDrwY3H97R1EpSr9IITjFjwFC8bC+VuKdC0 OykR9/Bf7bq17FxosrKdCe/+9rdC4OpG3P+0gPfGLLMB5ZSyu9OwwrLoMex8E97cBBVR bLqA== 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=xmVG/3H/SqHkjHCnVbBdoRYLrJINBOgTFoQQWr7Ye/E=; b=kyB+OUxMMzdo7Hznv40W/85T7GoWIOWompweytvH4jEPM2tcIe0A2HiPKSjAj1Ui4V xRVBOVghIT6whZrnJz5qVcH9fNz+QHSzxYqaJ4KoX3LSiHK7p8uB+m/VcQsrsr4XKyCg bDHUe9YUMic6cP8HrL9vYRRKrASdXl/X+LMHf9B2WWtrQPwYfHfvxb3nLDYwn9b317g1 05s5RjJSoL2a2LH928/aLDk5mWKTtW5/wUwleKXBdyMV8UBgcf5uYT2b20lJ/jFmTfu6 Hiv0d0/JO/l92uv7I0/dfFbNmORuc/PzdB4596UP5Zum44zv5TqUhUJqk7TFNcuki2J9 sWgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fALK6TmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 v12-v6si7045774plz.105.2018.07.22.23.13.12; Sun, 22 Jul 2018 23:13:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fALK6TmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387933AbeGWHLD (ORCPT + 99 others); Mon, 23 Jul 2018 03:11:03 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34319 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387904AbeGWHLD (ORCPT ); Mon, 23 Jul 2018 03:11:03 -0400 Received: by mail-pl0-f66.google.com with SMTP id f6-v6so7805409plo.1 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=uVI4TYNNNjICC7IxW4wY2KqWTs8J8yQe8WvReQTSow0YfoZm7SNHc2NE23RfNl0DdA jzCw0UbSYqOKzo8+S2Y1sZWn4u15eynmUWPHYP/juvicmIcvPpZmb6TQ1Jdt8FPWbamu Mg67g7KSmjZnhSkn2LiLkghcZirnXBqgYYXySL5vpMWc2op5Ykng9ZGsoNFhzw2ogpaa tDMiBJgfrw5bz0SKEbVPOupqHvafa4Hg6XWPE6xEMNf80aDvtuqg8qcZDO4ZmwaTjyOD eXZes339IKvfjYiD9ViRZFkGypNxPo7p9kNaxq7TzWmgxTcuNOOrTeqGPeqMUi5/b2X2 5cog== X-Gm-Message-State: AOUpUlEF6z8aKRkRGXZfyf6YOXtzR1d66+aiFkSvtvZHKGg5m88MiKiN P67Wheo0JIkUf8eiIzje9x/bWw== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; -- 1.7.9.5