Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3720502ybz; Mon, 20 Apr 2020 08:15:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLwPKLGY6FOZgUtXhWFRDiw/x2qjbsz+WtzZZZMYufBJaIF49G/cj7/+SVV5VN8QjhufFXP X-Received: by 2002:a05:6402:b99:: with SMTP id cf25mr14620003edb.372.1587395717546; Mon, 20 Apr 2020 08:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587395717; cv=none; d=google.com; s=arc-20160816; b=IFAiSgWOW54t61Yk4LRbOMwGp1mr99apNSH4/qk7BVP2Q5ni82MvP2YmeSxg9fmydw g8QcwyyJI8wenB7eByThfdGaa9lkzg7Yxs5P2s0sKzpqEIxSlJNT9NzlXd7DOhDYLSh8 VzINMpPSwngzpPose86DhT4wJOzX/3f2PSwuLseZXHFKlhXZM5xeEQ7qO2ro3cGJZAR2 1Xya7cqtfK5icnIbzUw0t39b34Ate0MjX9rQiDmj2tfw1AID/g8KePtiUcDUdGh3HVVk qbybYvp7DTpKHu+YjS1dW1B4II4ZKfB/MOSpt6En9mY0axiMB2Vs+5OymDSPUAxsdaMJ 3uAQ== 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=eNzG/1S+v7tA79AC+LG73Q1Eg/ESYBJJn2Qtb1cL+gE=; b=CflfJnp2rFBBj5Im2f/axjkEuFmogigkjTkWflZfNm+KKeANFT2S/Z+wNP+7Xauo+e d8cxm6q/z5Ws/IV2HlKOzAfymdJPMQjuwLtv8riNTImmFqJ867/NC4IMDs0mYZDo/tUY Nxr0oNhVPgKqx0wGopOx6tHLSxm/R+U64rnzRMuzIE4FmkugWNGLoKGrOG1hw7lgJv4m /COjXmoG4EvC7awXfU1/HEnXFOQYeD4+gZBwepNHMnDuNgpMy8q/EsSqLapokW4rbbsI RCfNNqjHMdepDz3jHfMhv4Px5RBZS8POfTTtiztCRwN9EhfcFytqEwGaV4znRTxaHcsk gR5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YgYrxMMO; 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 g17si728681ejm.271.2020.04.20.08.14.54; Mon, 20 Apr 2020 08:15:17 -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=YgYrxMMO; 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 S1730014AbgDTOim (ORCPT + 99 others); Mon, 20 Apr 2020 10:38:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:43886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729982AbgDTOik (ORCPT ); Mon, 20 Apr 2020 10:38:40 -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 B845020735; Mon, 20 Apr 2020 14:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587393519; bh=+DGLsi3SfobUu4UEs06d75/bKEBz2SreRY+kidIQn6Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YgYrxMMOkdMkrfa20rx8C0mXWLlrggN53mVav7oRmEA41sLboek5srPajPXqshBDm J92HLUex8je+lvGyjhV/zvab3y5j9/KaFqrpZilQPXW1oNTtPBpWwGQGxyXk/nl9f1 QsL3g3BpeEUkwHdl+glra55mcKph9rRjFuqZllCI= Date: Mon, 20 Apr 2020 22:38:32 +0800 From: Shawn Guo To: Vladimir Oltean Cc: broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, eha@deif.com, angelo@sysam.it, andrew.smirnov@gmail.com, gustavo@embeddedor.com, weic@nvidia.com, mhosny@nvidia.com, michael@walle.cc, peng.ma@nxp.com Subject: Re: [PATCH v5 12/12] arm64: dts: ls1028a-rdb: Add a spidev node for the mikroBUS Message-ID: <20200420143831.GB32419@dragon> References: <20200318001603.9650-1-olteanv@gmail.com> <20200318001603.9650-13-olteanv@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200318001603.9650-13-olteanv@gmail.com> 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 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 >