From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25024C2D0CF for ; Mon, 23 Dec 2019 12:01:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFB3820715 for ; Mon, 23 Dec 2019 12:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577102506; bh=d1XHN84mIpC2WXkedmTZRyzHrAdPTzEjVBsv9ilL3eQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=HuGIyPHIDvIGrXfEsYbLGwG+Oot3un7MgH8Vnm/dSch7SA7mtSpN7DmSOTiWF9IXJ qEuXkv9h5wr1W78OctABFzjjElx586FnHzoqCQ4MX3rQ0N5phTawele4Ydl2+Y1VDW o1KgBOMuDnu4uG2XXOcQXtODhVIg/gwiDoAe/b/0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726795AbfLWMBp (ORCPT ); Mon, 23 Dec 2019 07:01:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:36232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfLWMBo (ORCPT ); Mon, 23 Dec 2019 07:01:44 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43B3F20709; Mon, 23 Dec 2019 12:01:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577102504; bh=d1XHN84mIpC2WXkedmTZRyzHrAdPTzEjVBsv9ilL3eQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AWSgqV1tfgltZkoaQo7tvfGClXEg/YBvCCIwImwZXzCgnC4OYTFGLi3U81XZZ914f 0FTZnPBCXhQGVSXh1Eq+ViGhQTAGedHaUdu+JB4pR848N/WxNtQVETImFl7GfnAAR8 nJ/qLxlRL/hO9leeHauXQTjqTQOh4mALTyOwYLGw= Date: Mon, 23 Dec 2019 12:01:39 +0000 From: Jonathan Cameron To: Cc: , , , , , , , , , Subject: Re: [PATCH 03/10] dt-bindings: iio: trigger: at91-rtc-trigger: add bindings Message-ID: <20191223120139.557416b8@archlinux> In-Reply-To: <1576686157-11939-4-git-send-email-eugen.hristev@microchip.com> References: <1576686157-11939-1-git-send-email-eugen.hristev@microchip.com> <1576686157-11939-4-git-send-email-eugen.hristev@microchip.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Dec 2019 16:23:59 +0000 wrote: > From: Eugen Hristev > > Add bindings for AT91 RTC ADC Trigger hardware node. > > Signed-off-by: Eugen Hristev If this does make sense (under discussion) I think it should be in the rtc binding doc. This doesn't make it explicit that this particular block is a child node of that block as far as I can see... Jonathan > --- > .../bindings/iio/trigger/at91-rtc-trigger.yaml | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 040000 Documentation/devicetree/bindings/iio/trigger > create mode 100644 Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > > diff --git a/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml b/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > new file mode 100644 > index 0000000..c8c5886 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# Copyright 2019 Eugen Hristev > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/bindings/iio/trigger/microchip,rtc-adc-trigger.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Microchip AT91 RTC ADC Trigger (Real Time Clock to Analog to Digital Converter) > + > +maintainers: > + - Eugen Hristev > + > +description: | > + Bindings for the Microchip AT91 RTC ADC Trigger. > + The Real Time Clock block inside AT91 SoCs can be connected with a direct > + hardware line to the ADC. This line can be raised at a specific time > + interval in order to trigger the ADC to perform conversions. > + Datasheet can be found here: http://ww1.microchip.com/downloads/en/devicedoc/ds60001476b.pdf > + > +properties: > + compatible: > + enum: > + - microchip,rtc-adc-trigger > + > + reg: > + description: | > + Register map address (start address, size). > + maxItems: 2 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + { > + #address_cells = <1>; > + #size-cells = <1>; > + > + rtc_adc_trigger: rtc-adc-trigger { > + reg = <0x0 0x10>; > + compatible = "microchip,rtc-adc-trigger"; > + }; > + }; From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9218BC2D0C0 for ; Mon, 23 Dec 2019 12:01:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66D8F20709 for ; Mon, 23 Dec 2019 12:01:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hI83typl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="AWSgqV1t" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66D8F20709 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9bbIkWfViFfJjpVKmK84eyGS3YGDsxnI2lbtdtCF3+o=; b=hI83typlbrT+0M ICe+e7TL1EmzcgxtoVg1X9YkfpJYIQubiDa2aPUxpxjOXMaQK8vO0HcujJ+S2EbAIz4xhihDGiKM+ qNWmPQT/+0K5vtpOWvyG9xqGbQ2fB4yT/idZkZ9uu5Q1epwikJBKBlgHHW6epkzIPZmuMR3OdrurH Jh5rLL/M+2eI+FzeJeAofA3lym4+AiruW6An+ooc4LVRXI0eE5WJNF9btCjvVJXixsbysDWdhQaZU rxXlWmTYbIefn4QXGDkJKd8ZuZnXvZycdeQJ7+Zf0tX0UbJZhEKE24XRo5EImrnZwBfS1c0rs96IR 2POmtSNI8lApQaOSoqAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijMPE-0004C6-Jg; Mon, 23 Dec 2019 12:01:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijMPA-0004At-JT for linux-arm-kernel@lists.infradead.org; Mon, 23 Dec 2019 12:01:46 +0000 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43B3F20709; Mon, 23 Dec 2019 12:01:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577102504; bh=d1XHN84mIpC2WXkedmTZRyzHrAdPTzEjVBsv9ilL3eQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AWSgqV1tfgltZkoaQo7tvfGClXEg/YBvCCIwImwZXzCgnC4OYTFGLi3U81XZZ914f 0FTZnPBCXhQGVSXh1Eq+ViGhQTAGedHaUdu+JB4pR848N/WxNtQVETImFl7GfnAAR8 nJ/qLxlRL/hO9leeHauXQTjqTQOh4mALTyOwYLGw= Date: Mon, 23 Dec 2019 12:01:39 +0000 From: Jonathan Cameron To: Subject: Re: [PATCH 03/10] dt-bindings: iio: trigger: at91-rtc-trigger: add bindings Message-ID: <20191223120139.557416b8@archlinux> In-Reply-To: <1576686157-11939-4-git-send-email-eugen.hristev@microchip.com> References: <1576686157-11939-1-git-send-email-eugen.hristev@microchip.com> <1576686157-11939-4-git-send-email-eugen.hristev@microchip.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191223_040144_662745_71C4A626 X-CRM114-Status: GOOD ( 16.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, a.zummo@towertech.it, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ludovic.Desroches@microchip.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 18 Dec 2019 16:23:59 +0000 wrote: > From: Eugen Hristev > > Add bindings for AT91 RTC ADC Trigger hardware node. > > Signed-off-by: Eugen Hristev If this does make sense (under discussion) I think it should be in the rtc binding doc. This doesn't make it explicit that this particular block is a child node of that block as far as I can see... Jonathan > --- > .../bindings/iio/trigger/at91-rtc-trigger.yaml | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 040000 Documentation/devicetree/bindings/iio/trigger > create mode 100644 Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > > diff --git a/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml b/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > new file mode 100644 > index 0000000..c8c5886 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/trigger/at91-rtc-trigger.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# Copyright 2019 Eugen Hristev > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/bindings/iio/trigger/microchip,rtc-adc-trigger.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Microchip AT91 RTC ADC Trigger (Real Time Clock to Analog to Digital Converter) > + > +maintainers: > + - Eugen Hristev > + > +description: | > + Bindings for the Microchip AT91 RTC ADC Trigger. > + The Real Time Clock block inside AT91 SoCs can be connected with a direct > + hardware line to the ADC. This line can be raised at a specific time > + interval in order to trigger the ADC to perform conversions. > + Datasheet can be found here: http://ww1.microchip.com/downloads/en/devicedoc/ds60001476b.pdf > + > +properties: > + compatible: > + enum: > + - microchip,rtc-adc-trigger > + > + reg: > + description: | > + Register map address (start address, size). > + maxItems: 2 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + { > + #address_cells = <1>; > + #size-cells = <1>; > + > + rtc_adc_trigger: rtc-adc-trigger { > + reg = <0x0 0x10>; > + compatible = "microchip,rtc-adc-trigger"; > + }; > + }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel