Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2893781ybf; Mon, 2 Mar 2020 18:03:09 -0800 (PST) X-Google-Smtp-Source: ADFU+vtjB88gfyWevXiedbWq972GZUVXK3JiIPPOvE/0peYWIHYy2wUDTdO1pdtKjfdhUk/RB26K X-Received: by 2002:a9d:3b09:: with SMTP id z9mr1662284otb.195.1583200989620; Mon, 02 Mar 2020 18:03:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583200989; cv=none; d=google.com; s=arc-20160816; b=0+Ca5S0s3Pzr8atGzq7dOCLvcCtM1ESuIP0Mi73ZMcrtcnYTAeltMjizjNwXuhVNv3 C+Mu9NTrsBbbpDpFCcVYSiPrkGWiCzLNa6p1aZeBwp+D1VWpvbi3AVRhiGwB94i6TMf4 WZIR6yYx80yS7D+KFCRLq6Fo00ikyW3gYEwlME5aDtih0Ywe11KSYaVAbFvD5r+8rL5E xOb3GGIuDLo4eORgrkuoP1I8ReQTo5GnKXIrb+y7wjKn8tkr7tCmOqWFxs7pAywYnezI pUVld1LcWpEcMi/2Bz/8N2xlQ461jHI5yJy3sSLTDPZNdJzIjoL4iFS6B9pI+85SYsR8 f7Kg== 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; bh=RtixrG9AQvpOs2d4QLEzLorqikP02pM+UwgYV/xmhrM=; b=c7O0dGGJAHvEw4OfV+RsBmTWaoFoBmpoNppqJ/ohEK0jja2X1+jQ/f1G2pepulgOLB sNEwwG/peXTcPwOGBXufgWXeTXB1SrWD0vdfHEz/mL1TS5vSCNZeZNHa0b1M9LJi3wBN v1nXCcGaLENtq3TyiTbJdRqFDlOUudmdtImvcllM+GburOGsXz8Dr17T9RNaRPa7ANVq vxUdNXKUM3G1StQeKCxfGH996MjG5I5cG0mZM6Wy1xqAFllkpVzLcKj3ALTUqyRMJ2uu xwINrOtY7421U/N4pxL2vTFiEt92tOV2pzfhhXFiNjPv+YVWp2Hy8w3wHoHmpaUpzbG/ 1zDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si7686062otg.179.2020.03.02.18.02.48; Mon, 02 Mar 2020 18:03:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbgCCCCc (ORCPT + 99 others); Mon, 2 Mar 2020 21:02:32 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:34641 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgCCCCc (ORCPT ); Mon, 2 Mar 2020 21:02:32 -0500 Received: by mail-ot1-f67.google.com with SMTP id j16so1485388otl.1; Mon, 02 Mar 2020 18:02:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RtixrG9AQvpOs2d4QLEzLorqikP02pM+UwgYV/xmhrM=; b=CKmrHsIEJkkk+Ks5WC1w0KGsyXqLdfLvaAlV/CuO46M8Y5Vr+5No7HEyw0aSYWnriv JujHD+A5pvf9RnWrM3VZ1Xy9TOyLl1x/Tehjaunmh+vd1fSvkzhsrt5lYExHTxNOx8Jt hTTLmfnV9lVZOwavV0UbhyCw3xoz75qtlkpQeyLtPcFK0dtzxR1NqW0LkZfJeWLy9bBS uBrAfAQyo4V2xUrfXKOYmdpp5BmxZZ68U6BR91vaAByQxeHRy7AbLtUnuAzmeNeD4t+E buGQ23AQBNUUyE89Tliaf3s9tzsomkAjcBQwuzGZKfWDsTIxbhuZ/U6mLF1IPWtmCU9A W7nw== X-Gm-Message-State: ANhLgQ0jimin/FLeNC9jX4V4OcUpaoZ1NOB305T2fg0uVpJUuLK50+yz CghCGnAJwzkEVBpMJ3v5xpQukqA= X-Received: by 2002:a9d:7695:: with SMTP id j21mr1664602otl.157.1583200951832; Mon, 02 Mar 2020 18:02:31 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w15sm3291374oiw.43.2020.03.02.18.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 18:02:31 -0800 (PST) Received: (nullmailer pid 22840 invoked by uid 1000); Tue, 03 Mar 2020 02:02:30 -0000 Date: Mon, 2 Mar 2020 20:02:30 -0600 From: Rob Herring To: Ajay.Kathat@microchip.com Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, johannes@sipsolutions.net, Adham.Abozaeid@microchip.com, Nicolas.Ferre@microchip.com, Claudiu.Beznea@microchip.com, Venkateswara.Kaja@microchip.com Subject: Re: [PATCH v4 17/18] dt: bindings: net: add microchip,wilc1000,spi.yaml Message-ID: <20200303020230.GA15543@bogus> References: <20200302163414.4342-1-ajay.kathat@microchip.com> <20200302163414.4342-18-ajay.kathat@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302163414.4342-18-ajay.kathat@microchip.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Mar 02, 2020 at 04:34:40PM +0000, Ajay.Kathat@microchip.com wrote: > From: Ajay Singh > > Moved '/drivers/staging/wilc1000//microchip,wilc1000,spi.yaml' to > 'Documentation/devicetree/bindings/net/wireless/microchip,wilc1000,spi.yaml'. Not a useful changelog. I think this should be combined with the SDIO version. Details below. > > Signed-off-by: Ajay Singh > --- > .../net/wireless/microchip,wilc1000,spi.yaml | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/wireless/microchip,wilc1000,spi.yaml > > diff --git a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000,spi.yaml b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000,spi.yaml > new file mode 100644 > index 000000000000..cc8ed64ce627 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000,spi.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/wireless/microchip,wilc1000,spi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip WILC wireless SPI devicetree bindings > + > +maintainers: > + - Adham Abozaeid > + - Ajay Singh > + > +description: > + The wilc1000 chips can be connected via SPI. This document describes > + the binding for the SPI connected module. > + > +properties: > + compatible: > + const: microchip,wilc1000-spi You can drop '-spi' (and '-sdio'). They don't need to be different because they already sit on different buses. > + > + spi-max-frequency: > + description: Maximum SPI clocking speed of device in Hz. > + maxItems: 1 > + > + reg: > + description: Chip select address of device. > + maxItems: 1 > + > + irq-gpios: > + description: The GPIO phandle connect to a host IRQ. > + maxItems: 1 > + > + clocks: > + description: phandle to the clock connected on rtc clock line. > + maxItems: 1 > + > +required: > + - compatible > + - spi-max-frequency This should not be required. > + - reg > + - irq-gpios > + > +examples: > + - | > + spi1: spi@fc018000 { > + #address-cells = <1>; > + #size-cells = <0>; > + cs-gpios = <&pioB 21 0>; > + status = "okay"; > + wilc_spi@0 { > + compatible = "microchip,wilc1000-spi"; > + spi-max-frequency = <48000000>; > + reg = <0>; > + irq-gpios = <&pioC 27 0>; > + clocks = <&pck1>; > + clock-names = "rtc_clk"; Not documented. '_clk' is redundant. > + assigned-clocks = <&pck1>; > + assigned-clock-rates = <32768>; Not documented. > + status = "okay"; > + }; > + }; > -- > 2.24.0