Received: by 10.223.164.202 with SMTP id h10csp1191445wrb; Tue, 7 Nov 2017 23:48:53 -0800 (PST) X-Google-Smtp-Source: ABhQp+TyLez//lHx/G3zJBlvoMzYjQT7znLSacfDxXIPW7nrVD8Fwbt94wJycKlJNPJLkiaJTbK2 X-Received: by 10.101.93.9 with SMTP id e9mr1442398pgr.302.1510127332922; Tue, 07 Nov 2017 23:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510127332; cv=none; d=google.com; s=arc-20160816; b=tQpl0Z6aneT1WX6hhugQUjObaVnDyzxQcMQrJLY/2wLmVjnQJ98FGNyLiksys0IsM1 xmkETAfFIh1pBTwHnVi4FfDmW+sOrVzg1seliSxeCGHnP96cV6ES5ZqPlVL9R4ZZ2YzK 1xt/ooTBe/eWH3xZs6mjqSN2j+i+/rUsVXT8lZCcEuPFODb6vr+PqJIlLwLVcYJowVFt cNZhZw98mxf4foTtMKaZJiezTULynfF8vTIV3/0JbzecRqhXUpZHZYY6zttkSCLeLIqJ BwdUcUDOcWsvS4lmzE+0exPzMa+LD5JE2PnehnTdsK8qGmvdAC5tP73XFjJcoAYIvelW ivFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=PtbsuMoIOehXDe7LqSZBPWmOtyBXRcyfVd82jWXXwp0=; b=gFJyo6QisqiMr2DI7dLtLQeozA2hfSgAl5FIPZ/tVjaZW/tjp3DvBHsOFXsVXpQd7A KYJ86daV9YEl4ZgeHjaNjiX5ZDCDCEN8KtA8zEEsdtlH7uViwLO8TYSiWmjFIwLC/PwC GCoYaEYbUHDCGe16QXJyz1FmMHkGICcaJ+fQbSVHn2qILxqY3j+Ud1kwVfAl7cEOyprc YuHbtWKn7G0r43AP+LgtGJ0arpy5hs1y75+s8rBjiQpM0iCEzjjgcqguafN7Dr5EPu/D i1f09wy2XIK0/sjgjlV3RcjCPE3X50e5qC86V3yK/e33PfTxyfDOBaT/ZxOjWj68R7wc KtZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JXpHGOMZ; 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 r8si3105699plo.828.2017.11.07.23.48.39; Tue, 07 Nov 2017 23:48:52 -0800 (PST) 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=JXpHGOMZ; 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 S1753367AbdKHFds (ORCPT + 91 others); Wed, 8 Nov 2017 00:33:48 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:50840 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752288AbdKHFdq (ORCPT ); Wed, 8 Nov 2017 00:33:46 -0500 Received: by mail-ot0-f195.google.com with SMTP id 15so1363210otj.7 for ; Tue, 07 Nov 2017 21:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PtbsuMoIOehXDe7LqSZBPWmOtyBXRcyfVd82jWXXwp0=; b=JXpHGOMZal4ANFppHIRBDC0j4TFMDyZFJdlNaDU5IR3a4Vlfm//so8I3kCFxYEGo+I b/908eUSkbTtaxyi9dHGP/9A37wV/cvG6ionSJTYsIt8M9XfPnwN6TsXkgIzTr4+Q/VR EpidEArzeb/GzZN+IOtjYXz9L/7MpEUkaYtP0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PtbsuMoIOehXDe7LqSZBPWmOtyBXRcyfVd82jWXXwp0=; b=BDTXIaDpDmfvHH6VbB2NO/2MBBSz68+vsIbbhQy1uwzx4oX95wx8UJcW78AsML8TSC SUvwrWUw017FVBuaZY6jVv8O1T9BdPjXs3a6lTlWtB7NNFyBvcNLDDGMEaLdbdOU/rSy FzUs5hKXmrNt8cdo9DOsYAbDUYxFL5OnrNfPncrLtm2Lynj2KuknlAhlg5qabvgVwNue pOEsIYQIDSdHTV3CcKQ1S0cQa4vxewwOAbEE7GmfYmsT24mTydurJhUjf8xyLIZk7PUJ DXu0s6znpz9uCgghR8aR4JKde0IMCUqsYEn0q4A5pvGRojvB1fpXAjLi5fUPymju18u3 j/gw== X-Gm-Message-State: AJaThX5g4NbOwJZcbacso6frhwgh13pcoZx5CJ8nw6LP4M2wzz7mWMMf B1yAzmZpHUpP68uiqZS1G4En/pemwjIfYmEg2Bxdsw== X-Received: by 10.157.38.1 with SMTP id a1mr725472otb.112.1510119225679; Tue, 07 Nov 2017 21:33:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.29.69 with HTTP; Tue, 7 Nov 2017 21:33:45 -0800 (PST) In-Reply-To: <20171108051224.cfvbglubjpih2dm3@piout.net> References: <7037c5053a533505f38fc036290a398989cfdafc.1510051749.git.baolin.wang@spreadtrum.com> <20171108031520.zx2ipqugiyypmpms@piout.net> <20171108051224.cfvbglubjpih2dm3@piout.net> From: Baolin Wang Date: Wed, 8 Nov 2017 13:33:45 +0800 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: rtc: Add Spreadtrum SC27xx RTC documentation To: Alexandre Belloni Cc: Baolin Wang , Alessandro Zummo , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, LKML , linux-rtc@vger.kernel.org, Mark Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8 November 2017 at 13:12, Alexandre Belloni wrote: > On 08/11/2017 at 13:02:59 +0800, Baolin Wang wrote: >> Hi Alexandre, >> >> On 8 November 2017 at 11:15, Alexandre Belloni >> wrote: >> > Hi, >> > >> > On 07/11/2017 at 19:34:07 +0800, Baolin Wang wrote: >> >> This patch adds the binding documentation for Spreadtrum SC27xx series >> >> RTC device. >> >> >> >> Signed-off-by: Baolin Wang >> >> --- >> >> .../devicetree/bindings/rtc/sprd,sc27xx-rtc.txt | 16 ++++++++++++++++ >> >> 1 file changed, 16 insertions(+) >> >> create mode 100644 Documentation/devicetree/bindings/rtc/sprd,sc27xx-rtc.txt >> >> >> >> diff --git a/Documentation/devicetree/bindings/rtc/sprd,sc27xx-rtc.txt b/Documentation/devicetree/bindings/rtc/sprd,sc27xx-rtc.txt >> >> new file mode 100644 >> >> index 0000000..971d3a2 >> >> --- /dev/null >> >> +++ b/Documentation/devicetree/bindings/rtc/sprd,sc27xx-rtc.txt >> >> @@ -0,0 +1,16 @@ >> >> +Spreadtrum SC27xx Real Time Clock >> >> + >> >> +Required properties: >> >> +- compatible: should be "sprd,sc27xx-rtc". >> > >> > Don't use wildcards in a compatible, use a specific chip model. later >> > chips may or may not be compatible with that one. >> >> Our Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, >> SC2730 and SC2731. They all integrate the same RTC IP, so I think it >> will be better to use "sc27xx" string. Our PMIC driver also used the >> "sprd,sc27xx-rtc" sting which has been merged into Lee's MFD next >> tree. >> > > And at some point it time, you'll have sc2750 or 2770 with a different > rtc and everything will get confusing. Yes, I can understand your concern. OK, I will change to a specific chip name in next version. Thanks. > > I should have been copied on the mfd series if you wanted to avoid that. > Anyway, I'm pretty sure Rob will have the same opinion. > -- Baolin.wang Best Regards From 1583483225998947485@xxx Wed Nov 08 07:48:03 +0000 2017 X-GM-THRID: 1583412423125923291 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread