Received: by 10.223.164.202 with SMTP id h10csp1190076wrb; Tue, 7 Nov 2017 23:47:06 -0800 (PST) X-Google-Smtp-Source: ABhQp+S6W8Pe3SrUC6g4TLocTWkp4HlGl3C1JdbXGY0BYYLLLe5H6/iQmFkSMDj7nmogEhpGy1ZO X-Received: by 10.98.236.220 with SMTP id e89mr1601138pfm.219.1510127226392; Tue, 07 Nov 2017 23:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510127226; cv=none; d=google.com; s=arc-20160816; b=S7i2NZP+pBL6I7h9chG174tCDRSAHzKn6oYJJpEHE6uzh2Na4ifh3oc8JNn/cR5SGO C+X3k1HgCp8cnn7Zru4J9cgE2v9OfZukBpxaDRyuOlbPgwaGQ+1i58ILF2iu22MGsJCD 1qfX67usP63j+kbG4nNcrGt2VIF0yZa8q92TaOcyQoySN7llrCX/BkgdYprudtTnp9U3 LQgdQ/AYJQZpr9jye004QHFrOFaR/ii79ta8yyDgBW/d785g+dRegR4WedLlBbKLMvOE Mf6teb+LaW3Jv9yE51l3N9R9pbBBYGZcWLdKH+b3P/XAK9N63jbpwPkfbVu4PdaDKHIc 9K2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=np3E1GT5ZZU7nA2nLRbuS2Puonr1CC6tcEb9WxHdb0s=; b=O0z837lxh2UNnXLqG/gf9y2ZdUNtdzgVkriadoqhCAezpWBL9/mHHtIKv7No4V8OT1 uywfNSS2BG1SyNX3mewJnNB/vEpoQ0EcGoUgZhSX8b+28kk9MbNxkqht7GzVSnSYDiWV 022eD35Rvy4yNnHM4CYN211oUUnwzUZDJsmURfPBBVgPEHxvlWCoXYRekyC+tbsqPSAm XQpNHBzvfTteIY8E0/nbRj6EUKMoDXVixC5LIrXZuB6s7+6Lur7zJF96r6E3tG0bzYPc KS/igj3Rop6kGXFznrW1zSjEhpV6gm90pILkQRKEL0ifAWgpKywN9J3q4d0WTT/9Ahxc BOdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 60si3115175plc.104.2017.11.07.23.46.53; Tue, 07 Nov 2017 23:47:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbdKHFMg (ORCPT + 92 others); Wed, 8 Nov 2017 00:12:36 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:33503 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbdKHFMf (ORCPT ); Wed, 8 Nov 2017 00:12:35 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id A12AF20832; Wed, 8 Nov 2017 06:12:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [121.135.231.177]) by mail.free-electrons.com (Postfix) with ESMTPSA id 33FB1207AF; Wed, 8 Nov 2017 06:12:30 +0100 (CET) Date: Wed, 8 Nov 2017 06:12:24 +0100 From: Alexandre Belloni To: Baolin Wang Cc: Baolin Wang , Alessandro Zummo , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, LKML , linux-rtc@vger.kernel.org, Mark Brown Subject: Re: [PATCH 1/2] dt-bindings: rtc: Add Spreadtrum SC27xx RTC documentation Message-ID: <20171108051224.cfvbglubjpih2dm3@piout.net> References: <7037c5053a533505f38fc036290a398989cfdafc.1510051749.git.baolin.wang@spreadtrum.com> <20171108031520.zx2ipqugiyypmpms@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com From 1583470522057379011@xxx Wed Nov 08 04:26:07 +0000 2017 X-GM-THRID: 1583412423125923291 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread