Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2217304pxk; Mon, 14 Sep 2020 07:38:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz331VTBj+KgZ1aH8D84ndafawQa2RS/BNAI8M3kGkcDHlO8jgywpkmo2H1muNPiAwYZemm X-Received: by 2002:a17:906:b082:: with SMTP id x2mr15662197ejy.349.1600094313380; Mon, 14 Sep 2020 07:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600094313; cv=none; d=google.com; s=arc-20160816; b=Po73YGcRcsZCF2vc0rIBoQg0JvJFEbTagU/QtmXRb2ATjeitd6CQc4Z7c/6re/upca znVMaDyMT3XxZdDxIFgJyE/j6On/xDmMjmg8xVzhLfx2ZRZpQOi7c3Ifj8VpC9I3EtzV 8Aqp99RX8znUASj0SEQZckFiPMbAs8xPwNgAlXOq7Zd9XBR0eh1gXDG7hn+oOVU2DgqT xBD9g2VxVsWgGi9gwQQh7gJ2lGfET2nZOFWEAbsdw8RV0feOuuELYjiomSmKOpshHXia KVkUZSI+O+y9RYZG1fbQgEFFxFLAnqPtiHteSeb8n2TzElcCGvN22KNypZkABWc0LqSA sQMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rw9fgqBRvl9ILUzKN3ZO7iHMqNr2an59dtYIPzRgjFg=; b=Qeo8GhWrOY85PnreK2R4YcuoSt3dal4v7bs8n32LRH7+f4xXzZ/bKMVoc7WWnzRxUE qI6CVIwpvgNbvqWnGTvVOA+YuibcYRx/CiBKinpr4CDbJVoP1fOdopZ5J8Rs3E6f9KfV XcCkYUyr2SV27iuOFaMQ7fYD0LFKs9BtkrPQfAfymZipGc65d/6MgVZVxAHTWNK0OTbR 7hUShPQV7cGHGXqizsA3kgrnm2gX9396qjJN6ofsPoWjxbuC0TC9utEJOrTz2vm8+4aO FnKepTAouikUk8kzNKewI1ngGPfqUPZMiGBKSnlkH17t6moIMmTWDkkSYeikU12g8nZP vIrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o8ww2aGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay19si7108717ejb.626.2020.09.14.07.38.10; Mon, 14 Sep 2020 07:38:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o8ww2aGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbgINOgl (ORCPT + 99 others); Mon, 14 Sep 2020 10:36:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:47676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbgINOgU (ORCPT ); Mon, 14 Sep 2020 10:36:20 -0400 Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1816620829; Mon, 14 Sep 2020 14:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600094179; bh=ZLRfrIrY0GfgAj/UjPD18JtlgPZAUOTDBn5blkcgKCI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=o8ww2aGI5lF9+RriclIoS+lIahsQ8WBpPem5tRhK0NQogekW/29hPdpKpz5plK+dP a7heM5e5GuUHuAyXwemtcGgNJ9bJMCghvLrM3I5GE3OHhzxMYKzZVDdFsSBLLsGrhM PvQfQLnQQN0YNuxX7S4SCu4yWem1Zem9nnIzcG6s= Received: by mail-ot1-f49.google.com with SMTP id h17so144802otr.1; Mon, 14 Sep 2020 07:36:19 -0700 (PDT) X-Gm-Message-State: AOAM533VM/nnscOTTXYQM0s4l5Q46waiLyYe9oK3lf6ERnYmGPbbudE7 NgRqYMmnfFx9p90sWezhW7thpYoIEInmYzAEzQ== X-Received: by 2002:a05:6830:1008:: with SMTP id a8mr8766689otp.107.1600094178370; Mon, 14 Sep 2020 07:36:18 -0700 (PDT) MIME-Version: 1.0 References: <20200827091441.12972-1-qiang.zhao@nxp.com> <20200909202456.GA3019412@bogus> In-Reply-To: From: Rob Herring Date: Mon, 14 Sep 2020 08:36:07 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for nxp,rtc-2127.txt To: Qiang Zhao Cc: "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "linux-rtc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2020 at 1:08 AM Qiang Zhao wrote: > > On Fri, Sep 11, 2020 at 22:03, Rob Herring wrote: > > > -----Original Message----- > > From: Rob Herring > > Sent: 2020=E5=B9=B49=E6=9C=8811=E6=97=A5 22:03 > > To: Qiang Zhao > > Cc: a.zummo@towertech.it; alexandre.belloni@bootlin.com; > > linux-rtc@vger.kernel.org; devicetree@vger.kernel.org; > > linux-kernel@vger.kernel.org > > Subject: Re: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for > > nxp,rtc-2127.txt > > > > On Wed, Sep 9, 2020 at 9:16 PM Qiang Zhao wrote: > > > > > > On Thu, Sep 10, 2020 at 04:25AM, Rob Herring wrote: > > > > -----Original Message----- > > > > From: Rob Herring > > > > Sent: 2020=E5=B9=B49=E6=9C=8810=E6=97=A5 4:25 > > > > To: Qiang Zhao > > > > Cc: a.zummo@towertech.it; alexandre.belloni@bootlin.com; > > > > linux-rtc@vger.kernel.org; devicetree@vger.kernel.org; > > > > linux-kernel@vger.kernel.org > > > > Subject: Re: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for > > > > nxp,rtc-2127.txt > > > > > > > > On Thu, Aug 27, 2020 at 05:14:39PM +0800, Qiang Zhao wrote: > > > > > From: Zhao Qiang > > > > > > > Please help to review as below, if it is ok, I will send the new version = patch. Thank you! > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Doc= umentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > new file mode 100644 > index 0000000..809dd59 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license new bindings please: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: PCF RTCs > + > +maintainers: > + - Qiang Zhao > + > +allOf: > + - $ref: "rtc.yaml#" > + > +properties: > + compatible: > + enum: > + - nxp,pcf2127 > + - nxp,pcf2129 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + no-watchdog: > + maxItems: 1 maxItems is for arrays. What's the type here? It should have a description = too. > + > + start-year: true > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +... > > > > > Documentation/devicetree/writing-schema.rst and about 1000 examples in = the > > kernel tree. > > > > Rob