From patchwork Wed Feb 13 12:32:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10809691 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 B87AA6C2 for ; Wed, 13 Feb 2019 12:34:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4E1C29017 for ; Wed, 13 Feb 2019 12:34:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98F452B35E; Wed, 13 Feb 2019 12:34:24 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 448C029017 for ; Wed, 13 Feb 2019 12:34:24 +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=oFojoqRGaDSMn9jtdh5TakTJ92R4gnkoTdSJ56+GKKs=; b=fCwNaWSuyg9bZXSQ2hHUG7/566 zrgR6k6xar12K/q3DsbGT//UxFI9jkaXLXMtzJgoBoUXhwbyYdlTSHIq86w7DwO6D7gLAS7+sSrPW xAEF5b8eM2ubsMdqd3ukQ5Y0El+9UmZ9qrREhYh6Gvrux6qPqnwRA0M3oZu9gXHOXWt0Pzxj5d2aI zm9/Z7LkF+d+zquGSmoam6e8cKyjunDkh45PTW4UCvGUJriIjbtvzkJ0HU5cZKOuPrDOLc7D2nC0I fRd2I4wVynyQkctocT7GfjhdudkLEiL9eqChMsFCrJBKoSeu99JtiP2IA6dykwFZVKluBp9b0cqt4 1go4wuaQ==; 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 1gttk6-00069W-Hz; Wed, 13 Feb 2019 12:34:22 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gttjw-0005uI-6H for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 12:34:14 +0000 Received: by mail-pl1-x643.google.com with SMTP id e5so1106664plb.5 for ; Wed, 13 Feb 2019 04:34:11 -0800 (PST) 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=5wfuddSW6tp5kYw+zApWLVum/WpZ+TiS9aNH3MKdYzo=; b=YDWzlYBrahihGwb5mYJoLKo/xZVNfbd33CPt1cbrzZWuoYd4mrO9sghY/jilXAFcPb b+yIqYLo+3iLfK4qo47FIeJm2alKAr0zD7IigOBYuDuxyVSpMP81wwKWqbTBYYM32ikY 7eP1H9UzdYWPJFg2EjQnEimpR2CCNOZFBn4j1318kKvcCLVBMmufv0TQAAgb3M4oLi1l 30XJVvAP2EU26QLC1+acFBj30jN9YNYmUNZ9h8iy2/P/sF5ZNAOJHkXaW5iopbmtTGVe 6FnpZ6gyNHgcI2r4cNt4APQ10EgSKsA5vc7FTpYqtJ3E7dF+lR4m5xxIEi9dEOxUb171 KI1A== 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=5wfuddSW6tp5kYw+zApWLVum/WpZ+TiS9aNH3MKdYzo=; b=hB/5dcJz2PUibnt4aWgvTbsxYUOpXF/m1jLS/G156BO8cVvaMHuaubu/GqehcjSH76 /Vbl0b8ZjRmGPq5YpCKa1dne2J9BpMP2yCk/Q+fmLHEf6cBO6/MB2UmQPNTTrS3zxCEr xrh0qyOloEHHF5vtSQ5W3z8k4VL3a2Onxwi8N6+gwEMHtqS/eCpuI1M3b9naFL97xckw EZiSWY+c5yYGWlx0MLCLzItBP2pMxxP5E95FuUSNYp3jEFrSB7eUF7HW28fgG35ysr+e ON2AginiNEMSZ8WFoMGLHI/Wwzsyny1ko6OPvWBAwq1dZPC4mIHahuDCMOPZuBdTg+jM QV7g== X-Gm-Message-State: AHQUAuYGUw94r2dlAtjDSClQdRVup03jGM2Mw8zzpv2LCj7G7yCNz6nF tj3PBcrAV7UrQaYvXCDVBlte8w== X-Google-Smtp-Source: AHgI3IaSAf6j7onzDfTCKd/8Gy4kNKVuhVwJS5+E/ZiiK7RgY9Mi89ivH5Pa1AS62RhmQ6pxvoD77A== X-Received: by 2002:a17:902:bd0b:: with SMTP id p11mr274548pls.259.1550061251528; Wed, 13 Feb 2019 04:34:11 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l5sm21223640pgl.51.2019.02.13.04.34.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 04:34:10 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de Subject: [PATCH v2 1/5] arm64: dts: sprd: Remove PMIC INTC irq trigger type Date: Wed, 13 Feb 2019 20:32:45 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_043412_372329_E10FF590 X-CRM114-Status: GOOD ( 10.36 ) 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, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, 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 The Spreadtrum PMIC INTC controller has no registers to set trigger type, since it is always high level trigger as default. So remove its child devices' irq trigger type setting and change #interrupt-cells to 1. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 82bd642..f2f2aa5 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -13,7 +13,7 @@ spi-max-frequency = <26000000>; interrupts = ; interrupt-controller; - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <1>; #size-cells = <0>; @@ -43,14 +43,14 @@ compatible = "sprd,sc27xx-rtc", "sprd,sc2731-rtc"; reg = <0x280>; interrupt-parent = <&sc2731_pmic>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <2>; }; pmic_eic: gpio@300 { compatible = "sprd,sc27xx-eic"; reg = <0x300>; interrupt-parent = <&sc2731_pmic>; - interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <5>; gpio-controller; #gpio-cells = <2>; interrupt-controller; @@ -69,7 +69,7 @@ compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc"; reg = <0x480>; interrupt-parent = <&sc2731_pmic>; - interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <0>; #io-channel-cells = <1>; hwlocks = <&hwlock 4>; }; From patchwork Wed Feb 13 12:32:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10809693 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 2802D6C2 for ; Wed, 13 Feb 2019 12:34:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 120BD29017 for ; Wed, 13 Feb 2019 12:34:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05EC12B3DF; Wed, 13 Feb 2019 12:34:41 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 AED7F29017 for ; Wed, 13 Feb 2019 12:34:40 +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=XykL4mtV6XiR65LsgR+Hhl2d+i3LyAXoeuHZNASYryc=; b=V2niKT5EIWrPZ4N4ApvlOIgbuc Yk4v+KGWnPeOZLvDqgRxH2W6YXNuvFqyVky+VeRYNVlnM95gyDd8LV6awJcN3S/OVXXV/fQNl1TM/ Pynqt5vD7adCuHyKrPU9ohIIhaOR0hJy4mWJVbam5xOEQfU1Xw7rpPgW7B3R1RiiBiu3FceEqT49c L4aGrAxwZO+uzfRAkg1YDNNRlwGppZHjO6IR8gdCjNpGFpYMtOtMCjH1rZY1gf+HDcLDwnGyeulPp tc57Jfp30YB+qEFtGAlrjNBlnsH2lcbk9X/s85VfPXXcG27uHrW5XcrDRXUvrJN7iiVb4cnNdGnek ZQ8NoDFQ==; 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 1gttkG-0006NT-PL; Wed, 13 Feb 2019 12:34:32 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gttk0-0005zY-Et for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 12:34:20 +0000 Received: by mail-pg1-x544.google.com with SMTP id w7so1057175pgp.13 for ; Wed, 13 Feb 2019 04:34:16 -0800 (PST) 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=TsYSQ/G0YznTAgTKSekGveHgCX9PxIa5Y7B9m7W0j9A=; b=K+u2BXE8igH9mZ5PXj92nX6kf00B7E4SIonYnZdN76QA5DDQe+PbEmkmz8iP2a49Mc uE5vBYjcHExxmpQT2+jeCXEbGfxlZLpDUD0NFNA+H3nDVZvPV/Wa6fEup4fZUomy0hbC 69/VDJuxrS+cNBBlVnAZuptQnAIzO+bZMe7BN6E1ZIYliug9BFIXqB1qerjLskzPOmlW wNGZEYi128Ls+AATJPire+8gcSzsxxBAOi+Jfh2MRTWJ1A9lbIhYOGJROro6VeBKb8xc Lv+zNRmnYMKofHCyLEZxM8+TlUvChbvJc40bSJpvJoc18NkN3OzpRyRnXyK3Sn2GZ2Q9 nkcg== 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=TsYSQ/G0YznTAgTKSekGveHgCX9PxIa5Y7B9m7W0j9A=; b=HyxM5mC3aMppcRT3Gc5q1h5Dp85jyVy42/zbR6r+0NNsuew3clBTaQe74428HEmpKs g2hhTnHcXCp44YLy4iEOLp4eDoY0SqjfXc+6QTNr5WvVQWGodwRIqE3TBYuU+XdoTrjg sMoUmh3OzcfU3Vzvzi8NgqFLRG3olrXRoDYY6VXFUj3F2fMb96voAufC+dNpVow+nz7j 7ji3QwALiijq1J629gIWjkhpTVzPYGUrqoSY0YlNRPmuaic97tRvQJKOVCfffj7mCgs5 +mp2Ac2I1KcKfNkCpcYXddw+feW6i8LA+F8FkbKRXoVZqsriDaB03wqbSsbbiBlBt3PG uzOA== X-Gm-Message-State: AHQUAubwy6Kn8NwOj+B1DJwOpv7ZTd3W5xCrqRAfbpOvdLjSCM1jQisu ucfohCdgH8mYcIVk+YDnC+e1dw== X-Google-Smtp-Source: AHgI3IasfNSW9A1fNEEBfWE7qbZtE4VaXKaB3tivIDyCvYJl0ojIazlXhuIdAmvJqFEljsjrumLvuQ== X-Received: by 2002:a63:6bc1:: with SMTP id g184mr275245pgc.25.1550061255741; Wed, 13 Feb 2019 04:34:15 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l5sm21223640pgl.51.2019.02.13.04.34.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 04:34:15 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de Subject: [PATCH v2 2/5] arm64: dts: sprd: Add ADC calibration support Date: Wed, 13 Feb 2019 20:32:46 +0800 Message-Id: <0213394a8e432e0ee0809f9032427d971ea9cde2.1550060544.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_043416_833039_1280DB92 X-CRM114-Status: GOOD ( 11.35 ) 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, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, 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 phandles to the calibration cells provided by the Efuse device, which is used to calibrate the ADC channel scales. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index f2f2aa5..a2edc25 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -63,6 +63,14 @@ #address-cells = <1>; #size-cells = <1>; hwlocks = <&hwlock 12>; + + adc_big_scale: calib@24 { + reg = <0x24 0x2>; + }; + + adc_small_scale: calib@26 { + reg = <0x26 0x2>; + }; }; pmic_adc: adc@480 { @@ -72,6 +80,8 @@ interrupts = <0>; #io-channel-cells = <1>; hwlocks = <&hwlock 4>; + nvmem-cell-names = "big_scale_calib", "small_scale_calib"; + nvmem-cells = <&adc_big_scale>, <&adc_small_scale>; }; vibrator@ec8 { From patchwork Wed Feb 13 12:32:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10809697 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 D3FD36C2 for ; Wed, 13 Feb 2019 12:37:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDB612B3DF for ; Wed, 13 Feb 2019 12:37:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1DC12CF0D; Wed, 13 Feb 2019 12:37:15 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 44DF22B3DF for ; Wed, 13 Feb 2019 12:37:15 +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=MC64kBcEUr385xBCR5+Mu+OStJGBob14eGQeIlXRXU0=; b=K3pG6XCPiJwlMjywStEatV2rN1 Nb/3PEZtSdTn5z1befaURoGpEYojyuCpz8Nvwf0xeBtsQJwlCWi9S35lEWkowRk65LAbOy845CYiY hwEmeFpjhJDBVDflTIKe7MD7nipGxlQf6NIAWBCJ+ywPTOwfscD9+xabiR1RTXmZL62jtM5n+K8dD VJbGDY4gnb4NYFKY/uhhKWm0FtWLEi5YNo8N830S6+2U5Ct1U06r2THml1JXrGaNYmcCFZsWttwrh QOFk/A87LgXSjCbW1jLO3iGaZALSXKxhZfpwklmx9pRgKgm1fWtYCLmj5Tht7bivo6U9XM/BA2qhF JH3iGeSg==; 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 1gttmq-0008Mz-OJ; Wed, 13 Feb 2019 12:37:12 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gttk4-000660-Ex for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 12:34:22 +0000 Received: by mail-pf1-x441.google.com with SMTP id b7so1077715pfi.8 for ; Wed, 13 Feb 2019 04:34:20 -0800 (PST) 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=FGaARlyO45jSVlRCo3Ba46kwztIqiQvxEWOsLPfUyBY=; b=tmteZ4Yadx1Xj9sG8FjJzb/XQPKilq9yCsNYjoVZLRWUeNlKFBj20Hj8lf4izmYo+Y bbeGCWqccyS9rQx2mLdyJdaEyxg9LQoJHkArA1j4+WFLIBkZ/KsWvN4ODiaQxNttHHkR EwMAQ79vWNIuNG+PBfqs86YTYnu68D6h2ZruC0dK3pdyx7t9OTXKx+SzPO0DDz3kPl7X Pl9ZnKlNAzcHzZatc7X9UWT1XsN3zg5o6jD0fqONbJ4Rhm8+a5ZizaCaK1lwGBmReHOj IY4QGtiQ/igG6Lco8H4XRwozAfMo9moQS56Kiu8zFudHq+QrCqC3OnbFRLQlPQSC4Sml +nEg== 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=FGaARlyO45jSVlRCo3Ba46kwztIqiQvxEWOsLPfUyBY=; b=cg2DSI4MG11z6EZzo/7sugdkqiOGepAEBGMUA7U2Xkelmy7j/XTDaUHldGXae/ySgd eXoWZBIEud8wTpa13qlBeQpxX2/C+WQowkDfDd+OpL0JhkDoqBKYJOecjYTb/oFE1ZHg oB9dZUJnuK8Ra/gOZTrIgHtCWp3YXCFouAv/h3NjeOPPZZsLofxQBMxFwRjjTTAQNyI0 MfDLEr0XN/tchoLMJPhG6wGmiF26c0OmEUP7/+UPjnFBmHwWPpPA+b4ZPEiCzS0uLOJN mWt/8ZKa8w523rM/lySAkoDCxPXmkrdtki9y+0GrZitbVoXjBc6Ka3APk6AgihNzeqNA Z+OQ== X-Gm-Message-State: AHQUAuYxpmCUgiB2pK4l2pXZeWXClEWbZRiQB3uqY7aimf+IHr/347oY TqewXcwZTRKJ6FRKACt8dWlDGw== X-Google-Smtp-Source: AHgI3IZrWYzG9huHS10ehbGpwHIHSv79LI09Vcrf45ydQgH291PARN3sX4S/vYIcLE4vYgUdlpfxRw== X-Received: by 2002:a63:d347:: with SMTP id u7mr232319pgi.383.1550061259786; Wed, 13 Feb 2019 04:34:19 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l5sm21223640pgl.51.2019.02.13.04.34.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 04:34:19 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de Subject: [PATCH v2 3/5] arm64: dts: sprd: Add SC2731 charger device Date: Wed, 13 Feb 2019 20:32:47 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_043420_720213_E9581AC7 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. 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, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, 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 Add charger device node and related battery node for SC2731 PMIC. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 6 ++++++ arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index a2edc25..dbf6242 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -17,6 +17,12 @@ #address-cells = <1>; #size-cells = <0>; + charger@0 { + compatible = "sprd,sc2731-charger"; + reg = <0x0>; + monitored-battery = <&bat>; + }; + led-controller@200 { compatible = "sprd,sc27xx-bltc", "sprd,sc2731-bltc"; reg = <0x200>; diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts index 3bd18e3..2a963bd 100644 --- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts +++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts @@ -41,6 +41,22 @@ #size-cells = <2>; ranges; }; + + bat: battery { + compatible = "simple-battery"; + charge-full-design-microamp-hours = <1900000>; + charge-term-current-microamp = <120000>; + constant_charge_voltage_max_microvolt = <4350000>; + internal-resistance-micro-ohms = <250000>; + ocv-capacity-celsius = <20>; + ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>, + <4022000 85>, <3983000 80>, <3949000 75>, + <3917000 70>, <3889000 65>, <3864000 60>, + <3835000 55>, <3805000 50>, <3787000 45>, + <3777000 40>, <3773000 35>, <3770000 30>, + <3765000 25>, <3752000 20>, <3724000 15>, + <3680000 10>, <3605000 5>, <3400000 0>; + }; }; &uart0 { From patchwork Wed Feb 13 12:32:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10809715 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 4AD3213BF for ; Wed, 13 Feb 2019 13:10:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35B0D2CEEF for ; Wed, 13 Feb 2019 13:10:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29C4B2CEF1; Wed, 13 Feb 2019 13:10:50 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 CB9162CEEF for ; Wed, 13 Feb 2019 13:10:49 +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=FLrgumGk//6ptG7rDGhzGCsGwdMmoHsmCSZghCnGiMk=; b=ErrnDIyxNmQxEquDoDj6t5L85U DhOYdGb9U1+H3N2iPkGEA1zzQYzpnwQraq5QQdk+PX65aoWjvhz6iW2FD8k5BYDixx2niKg+mjAnz fdVTVp2GCw1Jz2x4xWxodaFNlSv40nzqL3LttR+lvXmUeqQ0JpTz5PdmpR7Ys5Y901mUKq7WXYJWi rApwAvP2SRL/7f1TPuOnL6hFIfaTi0xnVEhNspt3VxyhxvSX2IVnY5IAnfnrTjRBsq+uGDgjnD9x2 9F/j/uIjT95Fpeeog90Ytm6iM0CeAlGr0LycavG3KdZpcEYaa45UM7+x3SD53irYNLcC3LI7rysJ8 C6+0jrVg==; 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 1gtuJK-0003VY-F2; Wed, 13 Feb 2019 13:10:46 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtuJH-0003VK-Qb for linux-arm-kernel@bombadil.infradead.org; Wed, 13 Feb 2019 13:10:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Ftil2JC2XMfueJ0xbXmoE9WbLO/vJyO48RDROHSDf0=; b=HpFzzCuuEsSbcKTfI2V1Z2zJM eJ76Dir+SOXXFWhYu+UzRcWZ5CUlm5jU0s01zi7JZUPsUFV+lGcKV/c/6vFamqYKdpzQ3wDRMpmkG rtm5FFppeDLclWCgJR9HTs3D30i4eSflHpJA5LTG8J9Z6Eabdu20JHR5jrcYMOX+vcR9oWSeftxTJ 2i0jV7e3/NrEKumT94Nr3C85Z9U4S5qijYxnVsUJ8eUpgCzhhWgLKBh+QmDR+RbLwi1BUNT0Dgra9 PZ3+iLwRRVNZ3aB0sg5h8E6DBNBYMCNZJ9nwg1AOPGNkrISnzd2jv1S7nzJG7ajxmX8MWO0X/Addc gl0IPeHyw==; Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gttkH-0006rO-47 for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 12:34:35 +0000 Received: by mail-pg1-x542.google.com with SMTP id q206so1079902pgq.4 for ; Wed, 13 Feb 2019 04:34:26 -0800 (PST) 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=1Ftil2JC2XMfueJ0xbXmoE9WbLO/vJyO48RDROHSDf0=; b=OSoR2YWHmdDR0TDR0DDK+/GdBK1YYrgUQhsHJFLsbFRkAFflM/s+JBorKv1keFVe/g G3WqTYVQfjWh428+yj8hIUKf2o3TfTSpJNrICx6PEjLtFAOzY40uXayS5vPSWgLb12zK 6x97NWMknbiZgNm8oqbwQMRaYGzrbXcNfsU+owOiAkuJaiqpkOKejjmRPS2fpaC/+p46 xGjrBfLDHT3bsvLpb28JPjDNEkm7QsmsT4fUuKpYkaOcULj6FsBH9EGukBiRmarVCvQd AoW/FRr/i4aFl0KXtniSeunNac6cBvKh3GDVOWdvFtXTjJK9dlJIKyTpXW7bzq4S9KfE vOjA== 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=1Ftil2JC2XMfueJ0xbXmoE9WbLO/vJyO48RDROHSDf0=; b=FVUL1HzZXlbz/ZN85fbofL5/yrDi/shK9rONOs+n1+W792e9r+MckBIcRzbkAq4/xe podRSuNlv3Jq5SqT23213KAxYuQ9dM9O52Esbjyh5j4PrvWwxyRmIpgy/++Z7M7j9Osi UXI4q0W0IMv5RSrOpu8XeLvY1GWFftss9Ye/GLI7783Tiy5l3vDKfEmF4MKNiBzEW//S tdHQj5BLV4oHJu7KH3jJ4caObordHiy0eN7eJycvtXgWnNzNOAOJaL5avjVgYnWECcUZ Hye+fsy0w4Q2imyi7FOPvc5bhh0SwsXulNQXhqzzj2yfPz5WHXGQh//MeE9z7pP7THrP K2RA== X-Gm-Message-State: AHQUAuanwi1x6Jo4Yz8YqcbVpc50BGqm2z2R+cND7vRPeZwzSOH4j3nm 15FNp0qURcIOEybwGDcJHGeFmw== X-Google-Smtp-Source: AHgI3IaK6Wa7iLqOWxwNxcPopviGukSLhRAOTKcWTlf1/MHf1annhvER9HpSF5TrQ2X73RS6hu+3nQ== X-Received: by 2002:a65:6294:: with SMTP id f20mr293397pgv.174.1550061263973; Wed, 13 Feb 2019 04:34:23 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l5sm21223640pgl.51.2019.02.13.04.34.20 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 04:34:23 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de Subject: [PATCH v2 4/5] arm64: dts: sprd: Add SC27XX fuel gauge device Date: Wed, 13 Feb 2019 20:32:48 +0800 Message-Id: <46be35679912ffa446d67bb9b81f0cee065c1ca2.1550060544.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_073433_190600_81375E64 X-CRM114-Status: GOOD ( 10.89 ) 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, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, 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 Add Spreadtrum SC27XX fuel gauge device node to calculate the battery capacity. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index dbf6242..4a79ddf 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -70,6 +70,11 @@ #size-cells = <1>; hwlocks = <&hwlock 12>; + fgu_calib: calib@6 { + reg = <0x6 0x2>; + bits = <0 9>; + }; + adc_big_scale: calib@24 { reg = <0x24 0x2>; }; @@ -90,6 +95,19 @@ nvmem-cells = <&adc_big_scale>, <&adc_small_scale>; }; + fgu@a00 { + compatible = "sprd,sc2731-fgu"; + reg = <0xa00>; + bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; + io-channels = <&pmic_adc 3>, <&pmic_adc 6>; + io-channel-names = "bat-temp", "charge-vol"; + monitored-battery = <&bat>; + nvmem-cell-names = "fgu_calib"; + nvmem-cells = <&fgu_calib>; + interrupt-parent = <&sc2731_pmic>; + interrupts = <4>; + }; + vibrator@ec8 { compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; reg = <0xec8>; From patchwork Wed Feb 13 12:32:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10809695 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 CE1171390 for ; Wed, 13 Feb 2019 12:35:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 010102B35E for ; Wed, 13 Feb 2019 12:34:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8BB92BE60; Wed, 13 Feb 2019 12:34:52 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 96AC02B35E for ; Wed, 13 Feb 2019 12:34:52 +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=aKtYrNQY9qQlC0kS8iV6j/vtA+XgiRUYxAqtXWGbAEo=; b=EV08V4MucNlCBoBJVHMQc22LqY yv8C+USlPF4m/c0nxJEwfbuYyGKqlBDtQEGYJgpk6vs2K1Wwc7J4vk5lEOp1cSboylbnmxxxtXmgE Ip4F+y3e5kkNe8HaQ9GIT17mENCvZuYsS/vkLP/x1VhY2BK08WkEpPvMbD+BRXC8xSpoiO3Nwfk1t zryeR1Qzy0lsQ3x7QoJeK3tdZ3/bix9IKR5i8/UerLdqc+y8rVJQFVBgiF9Mu2CmfjuO0ikUOdeYW C5Lw7Mme8B6uT3/qj0Ae5eN7cBPjtEgXit6K7jMmrJ12inGq5KOQeYfXw8QvwunD5AdKGaZT0vVh1 Axx7EsIQ==; 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 1gttkZ-0006lu-A2; Wed, 13 Feb 2019 12:34:51 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gttkC-0006Ih-R8 for linux-arm-kernel@lists.infradead.org; Wed, 13 Feb 2019 12:34:34 +0000 Received: by mail-pg1-x541.google.com with SMTP id s198so1084326pgs.2 for ; Wed, 13 Feb 2019 04:34:28 -0800 (PST) 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=AM3cPOYZnTTguViecu0E1+Ba1m1zZ0u7N8ID6CDTa4A=; b=mjbD1SBBY26BMfhUfCRIgG32/jSSvduWH75bBY9R+Gq8IKSJAyNuD1XTxDS6WD7nbg A8PgPX0v4hbV6BjeRZHIXdNS0Y3pMDuED7wGRjCDjV39Z+CRqbO+hwi2rgOu14TcLBI6 0b0qB0f9CPF7He27o4CY7rZnLpyAD2OiyK84OBw1z8t6IR0QGMkC1xDpPGWAQwJIewfP ZTiHb5tFQ+twVP4YTz8DzbSsu0Yy+777EIlqOSWOdkvfleOwhb/mHwC1NrlnJIEKJbnq BaPUSQ2mf9yRtuUSZrhJ8gyd/1TcckbIjffnOLeWY+Mv5/aN3+BrtjTqJ0OrADw/VAWb iF4g== 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=AM3cPOYZnTTguViecu0E1+Ba1m1zZ0u7N8ID6CDTa4A=; b=p3qLBdZnXEmmthpqxXBVrJ3CCT0IrDEEoIAnKB+6YmwFwtla940G1tmYwog7GssYsO P/1Z2RGkBejNx29SjC5krr49bqQPig9BJR8fCEzNSmKm6gSVvDAHtbxrbGOsR3q8fbmd fpcLbr6HCW6W+1gR6v+Guj/2bsRe8T/38CKeV8LZ+9OmbUA4ZHj24nAOY2qFe9SzbqK6 /3HDS3CqotnIsYHqmhoKO5j2kK6c212NnS4O1D2SRzHEAJvu7jTpzFdTwhV4fN8j5qz4 fom9wAMsxP9lF6tplQ2f9KojPrnrDbF/V8w13r/V2BxgMBLN7PnA0zS5VG/EqYVxQoJU JQdw== X-Gm-Message-State: AHQUAubO0Ja752eefdRyafkUprxxjphQh4eKOsouOIDhVN7d1w6tLZxJ Db5w84QBIIEQQIVApQqg72WW9g== X-Google-Smtp-Source: AHgI3IYzBUqBlJxj3lN55vuJ9Qse/YMpgygqbXFQINAsrgnurSDtJojuYPg/iAOOErNhfmUP17PsaA== X-Received: by 2002:a65:62ce:: with SMTP id m14mr262963pgv.101.1550061268236; Wed, 13 Feb 2019 04:34:28 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l5sm21223640pgl.51.2019.02.13.04.34.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 04:34:27 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de Subject: [PATCH v2 5/5] arm64: dts: sprd: Remove wildcard compatible string Date: Wed, 13 Feb 2019 20:32:49 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190213_043429_450407_A8329E50 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. 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, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, 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 Remove wildcard compatible string. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 4a79ddf..e15409f 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -24,7 +24,7 @@ }; led-controller@200 { - compatible = "sprd,sc27xx-bltc", "sprd,sc2731-bltc"; + compatible = "sprd,sc2731-bltc"; reg = <0x200>; #address-cells = <1>; #size-cells = <0>; @@ -46,14 +46,14 @@ }; rtc@280 { - compatible = "sprd,sc27xx-rtc", "sprd,sc2731-rtc"; + compatible = "sprd,sc2731-rtc"; reg = <0x280>; interrupt-parent = <&sc2731_pmic>; interrupts = <2>; }; pmic_eic: gpio@300 { - compatible = "sprd,sc27xx-eic"; + compatible = "sprd,sc2731-eic"; reg = <0x300>; interrupt-parent = <&sc2731_pmic>; interrupts = <5>; @@ -64,7 +64,7 @@ }; efuse@380 { - compatible = "sprd,sc27xx-efuse", "sprd,sc2731-efuse"; + compatible = "sprd,sc2731-efuse"; reg = <0x380>; #address-cells = <1>; #size-cells = <1>; @@ -85,7 +85,7 @@ }; pmic_adc: adc@480 { - compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc"; + compatible = "sprd,sc2731-adc"; reg = <0x480>; interrupt-parent = <&sc2731_pmic>; interrupts = <0>; @@ -109,12 +109,12 @@ }; vibrator@ec8 { - compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; + compatible = "sprd,sc2731-vibrator"; reg = <0xec8>; }; regulators { - compatible = "sprd,sc27xx-regulator"; + compatible = "sprd,sc2731-regulator"; vddarm0: BUCK_CPU0 { regulator-name = "vddarm0";