Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4275584ybz; Mon, 20 Apr 2020 20:03:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKKps/OJRV1VrY8ni7kCMrB+6Rkixfmv2Zz/b5+MDLydOPSu5CMOpyE6ZvKYzmhhT0vJuPG X-Received: by 2002:a17:906:4e8a:: with SMTP id v10mr18370323eju.63.1587438179888; Mon, 20 Apr 2020 20:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587438179; cv=none; d=google.com; s=arc-20160816; b=t/JuTnaN04w3LnWjyXTmDcEMa2FHwEBw0fatWjj46dk9VjL6d5P9Jg1ydMw0rxPfxW mI50syjz3ic/K1XHVB3u4rlPkx950VESmuBQqu6UZcyV5LO74op8pOiCBVLWktG8AYi1 mkl1i3y8wtDLIy90OfMc/kCwXxZaefb9rttysMeK1HEe1yX9GPz6P14jLNQx3Da3Wsts EBf1yjNekWctQNmnium97X8sT23XTR1FJ3Gh6eJbNBA39k2FlPhke751nmAi484qvXet mAIBBlliv32otsnzX3f5XshLAAh0yDwfeNlEPkFehzk6Dg3xZVJ5G5oDy1hVI+8pUQqa JHhQ== 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:dkim-signature; bh=Vr7XzdXEzIJp3Eqh8rElrYlzzZFgDneR2MEd4JumNF0=; b=TCfh3VfOwXpSOBie6bGQq7+Jh8PW4rH3c0VlTHtCNzQE+qIdM6a51G5t4xNKkkkwQA 8bdjiBow0tQ5O1DLjRLoWWdnwmDV5vqE3RAe+V8mI24Ir8PIEu2C0BQtir4dGraJOVat +NWXX6JdG76OBqB8M/iYeW6oAA3rS/eVlOcVNyX0kPNJrcnWzlY9YrhiJgV26xbBZUqi /YSvzdjxdHiQIzBM4ogUcYUGGnZ0sqxb/9/IWtbvf1EBmte45xXPqnZWaYg/t2kr44jm CoZAmsRYLAv+Ir4G3q6hY1gw2PHcOMXjjbGGB9p4KtfcqyM8ZQM/wLgwgku+UBlX4WYS ifMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p0xe2ozp; 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 c91si770140edd.163.2020.04.20.20.02.37; Mon, 20 Apr 2020 20:02:59 -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=p0xe2ozp; 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 S1728214AbgDUDAu (ORCPT + 99 others); Mon, 20 Apr 2020 23:00:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:34708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728178AbgDUDAs (ORCPT ); Mon, 20 Apr 2020 23:00:48 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (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 53A982082E; Tue, 21 Apr 2020 03:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587438048; bh=C66zT+0eni1hQi75iXGL2m0XhwqvpODjKWdzrm+Wf24=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p0xe2ozp9oV1ZLX5y+0fOMLcAjScVQncZUs+qCBH5NYLA1NqK3fmFqTPSlbv1BkNm Fx+uVD9wykiqEp+a8QAetlIM66lAGyw0FkjaQH7YzOqEeKtdcIsdNO6Wi62aCDA3jl VKi40FWaBDbsjn4QuVi8IGd1qZJHU8/kcpiZMpc4= Date: Tue, 21 Apr 2020 11:00:35 +0800 From: Shawn Guo To: Vladimir Oltean Cc: Mark Brown , linux-spi@vger.kernel.org, lkml , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Esben Haabendal , angelo@sysam.it, andrew.smirnov@gmail.com, "Gustavo A. R. Silva" , Wei Chen , Mohamed Hosny , Michael Walle , peng.ma@nxp.com Subject: Re: [PATCH v5 12/12] arm64: dts: ls1028a-rdb: Add a spidev node for the mikroBUS Message-ID: <20200421030034.GA8571@dragon> References: <20200318001603.9650-1-olteanv@gmail.com> <20200318001603.9650-13-olteanv@gmail.com> <20200420143831.GB32419@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 20, 2020 at 06:10:35PM +0300, Vladimir Oltean wrote: > On Mon, 20 Apr 2020 at 17:38, Shawn Guo wrote: > > > > On Wed, Mar 18, 2020 at 02:16:03AM +0200, Vladimir Oltean wrote: > > > From: Vladimir Oltean > > > > > > For debugging, it is useful to have access to the DSPI controller > > > signals. On the reference design board, these are exported to either the > > > mikroBUS1 or mikroBUS2 connector (according to the CPLD register > > > BRDCFG3[SPI3]). > > > > > > Signed-off-by: Vladimir Oltean > > > --- > > > Changes in v5: > > > None. > > > > > > Changes in v4: > > > None. > > > > > > Changes in v3: > > > None. > > > > > > Changes in v2: > > > Change compatible string for spidev node. > > > > > > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 14 ++++++++++++++ > > > 1 file changed, 14 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > > > index 6d05b76c2c7a..0d27b5667b8c 100644 > > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > > > @@ -83,6 +83,20 @@ > > > }; > > > }; > > > > > > +&dspi2 { > > > + bus-num = <2>; > > > + status = "okay"; > > > + > > > + /* mikroBUS1 */ > > > + spidev@0 { > > > + compatible = "rohm,dh2228fv"; > > > > Is the compatible documented? > > > > Shawn > > > > > + spi-max-frequency = <20000000>; > > > + fsl,spi-cs-sck-delay = <100>; > > > + fsl,spi-sck-cs-delay = <100>; > > > + reg = <0>; > > > + }; > > > +}; > > > + > > > &esdhc { > > > sd-uhs-sdr104; > > > sd-uhs-sdr50; > > > -- > > > 2.17.1 > > > > > I don't really know what's the status with spidev compatibles. I do > see other device trees are using this one, I thought it should be > fine. My understanding is that every compatible needs to be documented. Shawn