Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3724964ybz; Mon, 20 Apr 2020 08:19:30 -0700 (PDT) X-Google-Smtp-Source: APiQypKBfPg4pKwMDMFjx2Ve8AipoVSTzlKuVdEzPnFYYCkLI72OdhkqGqmLJzIIZR9z/wCOThB/ X-Received: by 2002:a50:c389:: with SMTP id h9mr14909724edf.1.1587395970633; Mon, 20 Apr 2020 08:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587395970; cv=none; d=google.com; s=arc-20160816; b=h4M/fwuGB7Jn08Zrb9xOHlS+40ULQbZzKUBJrpKU//lqXFYSfkZ5ltzIaf89VKQ94g 3q/593ral7np3suFqBi0SvjY+WGB7L3TBcJlW7LVFNkh4eQrv7aryeKX0P2ijk7Suz4B iy++zWmixVtcvn2lPvhAKuzBjV8zeKTSi19sBqOwBCbOrL48ArBl7NLowMzPcWWqbOhf l7BlC/u/EGZms0yd350mdfL/dPgMaO8QMpHLIOnyiRj62mHaW4tbDEDWy+kjjys7LlWT DOfvaL6PJGCWtMFDQJgZfZR2TRNafNaKwVR90FtU7LDToQUYebqi8zuRxThXQ0r4kGmJ XlHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9p5YSZ4+mi/e7FFFEHIrB7QFMMbbaz2S5WA2HGT9XH0=; b=YFkvlwKZtJPr4Q2QrukXJapSOu/H3fgLoLoN5iMfW7wnKvyMkOUA1lbC0PCPfWaWCt xgHqAjDZvu4sxZWL68cxzQrfcRqbthGXEXpbaoKXWhpImK1Cn8pDRceJ8gaAYfWGkxL6 1o41LlEfHGcHvN0hMioIwRAfgghalFngUiYvxp4Et0QukH2OPocUfDXbE0cMG96piEz5 fN+6g0nkmJ2sDCiWSR1WVI3YOVNe0BGfwCkzpJoSB9UXmSe4ZdlMRLfgpkBVoiCjT0jW 3gMM63rIqa2CYmN+xgnMFrtBXj659pS0Cjm/6eCuTIlcTw8GYBNrfSn0nZ3CO8EccGT2 jEJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s7ViBweo; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx18si658543edb.73.2020.04.20.08.19.07; Mon, 20 Apr 2020 08:19:30 -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=@gmail.com header.s=20161025 header.b=s7ViBweo; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730101AbgDTPKt (ORCPT + 99 others); Mon, 20 Apr 2020 11:10:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726888AbgDTPKt (ORCPT ); Mon, 20 Apr 2020 11:10:49 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EA42C061A0C; Mon, 20 Apr 2020 08:10:48 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id pg17so8209165ejb.9; Mon, 20 Apr 2020 08:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9p5YSZ4+mi/e7FFFEHIrB7QFMMbbaz2S5WA2HGT9XH0=; b=s7ViBweoBfolqtUE1Dw+S7+3GkaeERdZbkylc7Ai1AdgnOZfN65hg71OXW2rVO1/hU ROT1CPA181AXr4yd0UPHspj7hazs1F+i3kUgTTZmg6M3RdHYZgnM8vBDyfvpEX1i75yo UwzqsxsY7lQpOBva7nO3k53ypxyz09Hvq6rn4E2QLPHERcYMiqNDY6QqG0q9hiK9XJbD pJ37ogZ12tshixBKhmzU0osoY6T9h+atrk/L0AfZkFeWZ7rcWBRlAQeVTZ92fwy0eDof mMP8lFJLRiU93vpaLiJyXh4wt7SLDINfUqFKY0JfpCuo/anSJvB6VMwTcwWsbMhVetbR 1pjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9p5YSZ4+mi/e7FFFEHIrB7QFMMbbaz2S5WA2HGT9XH0=; b=fTTNuIivmIbOgAt5hWnQtO9Lxv3KloHsYxg9yzRdkPB5KiDM0CzKTpKAhf9eERqHYj mDTJR2ul4OnUN4KBSe1u47+l2gwN4x0KuHZvE6ZrwKgUydzZvt/NVo2YGjvjwyJ3xu8O wgFnJ9Lo3iZMjNUk8NLK4xaW0KZ4Imt411vnP11FVL4711BRoVnmPLXu3jcqYG5E61bI mLQ5UFOI7SSc3IFnYmCNYKVGtVeWhw41NEdNOq7WtmnFL2Yibr74abT0KWVJ2qsICtCF gMxWkBMffFtaeiL8ChLVNPcm4x80f6+EBLeVJ6/YB2G4zq6138dwEDAzBDLKItwJCMMg tgYw== X-Gm-Message-State: AGi0PuaURLQVAcRNppy/ZWHonbBunYmfdObZufUZMRytzuxhjEMUlS2a s+mywqjWZ9ypTW71m4veoQSoOa9og2dOKACrsGs= X-Received: by 2002:a17:906:78c:: with SMTP id l12mr15719453ejc.189.1587395447071; Mon, 20 Apr 2020 08:10:47 -0700 (PDT) MIME-Version: 1.0 References: <20200318001603.9650-1-olteanv@gmail.com> <20200318001603.9650-13-olteanv@gmail.com> <20200420143831.GB32419@dragon> In-Reply-To: <20200420143831.GB32419@dragon> From: Vladimir Oltean Date: Mon, 20 Apr 2020 18:10:35 +0300 Message-ID: Subject: Re: [PATCH v5 12/12] arm64: dts: ls1028a-rdb: Add a spidev node for the mikroBUS To: Shawn Guo 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, -Vladimir