Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3883831ybz; Mon, 20 Apr 2020 11:12:02 -0700 (PDT) X-Google-Smtp-Source: APiQypIRSdj/J8dSUZuWwVwmdAXuvj1/dqxFr3WfpvfbFCB1X/khwY3XM/Lco/rs5isPErdMpnjn X-Received: by 2002:aa7:da8b:: with SMTP id q11mr15979561eds.359.1587406322457; Mon, 20 Apr 2020 11:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587406322; cv=none; d=google.com; s=arc-20160816; b=bECXnBCd3ozExobFCvgj98TTbLsry5J3fCifTzHcwsgPnDRQAzYqvKYUOiBxps1jTT V+GsoaynW0j+6fiZ7EfMJCCjhQokFIjlK8c9yYZx9uj8y90TIp6sl6CGaBzF14Y+x+PH jPyiY2VRR1vwMOQWB5wOitV1GxS7+hcKLg0vVrdsrsG9f7eF8auE8rl9hxn7CQ+YXott CaGQYwmoRjejkoyvRZA0H4r/Dt6KeU8JKS2nZF6feeKzEaUZV61rZT0j5GgiIi3k16Ko JboKcWu/sCLvLFzzQ/iuq6jjNdUhR0FK5KBDD91/O7GPdm5iktIsoSCAAs+pfaqU6JvZ TLbg== 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=OsEsVqFYdMSb7DvTNoLz36ojWhYP2bDeJgp2Rpv0Krk=; b=eK59QoZm9UB4VRluoRwo9Hzfuho9bQbYLPBpVI6lIHHFRFpDd9R48ilSNJKT7F7cuh Mm9UQvHurfbUTLsEXV6+/MzJH9pKrH58FHnmOdGTkekNWe2skpIOOHkCeecTEX/JirUr 6m/zls6vKY6ZRwF15tkcV4zcTZuRiC/LEjMoWefm2LLVGs4qzfqBSf6TMYveKhwp3lJE cNXLi3eqB5QEfJr8OAoBxkeAAcyUYs1M6DVeS4T0ZjXxS44qx18gPBngyDYD7F3/GpRp +ZyeuRnGdcjRoad7Jw8u3jyezk5fMAZjKPxAwHZcelYVJ6oEHJM96m6p+BMJyvnOJKU9 6nqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CF9oVWum; 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 p4si110814edd.234.2020.04.20.11.11.36; Mon, 20 Apr 2020 11:12:02 -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=CF9oVWum; 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 S1727805AbgDTSKk (ORCPT + 99 others); Mon, 20 Apr 2020 14:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbgDTSKj (ORCPT ); Mon, 20 Apr 2020 14:10:39 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34F09C061A0C; Mon, 20 Apr 2020 11:10:39 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id l3so5216018edq.13; Mon, 20 Apr 2020 11:10:39 -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=OsEsVqFYdMSb7DvTNoLz36ojWhYP2bDeJgp2Rpv0Krk=; b=CF9oVWum7P6oGqf/+o/Kfq8ccqpl/kqXKpD5Ov3s0d6NsvfIEGAmcv8qfwxjZn0zVg ynvyXJBYZxaE6qa+9ImjKr17D04XIQPPy4Yhi0GtZvMcehBwVgh+am27oicRuZZBy69Y 0UE2jBqxbyKVjh3oWwFNvRqjhQiKr57pzRmKNO0fRLYyr1LtdquWn2zwQmk8e/fSC77+ DzC+16bcYwTLYolDPEl7ov14N67ELp26piJ8A+kX6zrkQsOK4pZJ4AzYDK0l+vPUoZ9R vBNELc1LN+uOG3lJ4pojJI9EQbhO4dPXVorQBY3l7vszpjDGMIh9CeoZLnM5l5pUSdNU Af9Q== 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=OsEsVqFYdMSb7DvTNoLz36ojWhYP2bDeJgp2Rpv0Krk=; b=n8q3eGWDsdxfa1oV7caEywVrmSGEoTzXroxa442+neiF8KVBOCOifLwLkDqB80mw0W pkz7ZspJim46/gEoYE9fhz06e8wKLheG7QGVjRBkYABgaMaHGgc+dhms+itJ50ePiupk XDW7cGwISEQHu7UDjzqS2zQlQpawrR5Y7ZSGM3BzksaOF7XZ20hT05W07Pdxm0nF6aKZ Z2vyxodsHb6DwZZv9l017CtKfJhdRwIGJrHeeV2KfPEJBCX4dhcloBebnhB3jyb+8C4X oKOLJ334LdI3SIelBPeTDPPzgcq5N++nTjvlJzg9/1rZ0zC+L7hCzT0eSPXL8ww1MBDC Y1mg== X-Gm-Message-State: AGi0PuZnpm7Oi9KAepyRh8Ddsvb6+1XxOZvuFnWxCqJmH6TReymGFKlW gz2UQ0BJ1JjsM+TxXng0ydE2VpuEet/WyWvt1HA= X-Received: by 2002:a50:9ea1:: with SMTP id a30mr16192872edf.318.1587406237905; Mon, 20 Apr 2020 11:10:37 -0700 (PDT) MIME-Version: 1.0 References: <20200318001603.9650-1-olteanv@gmail.com> <20200318001603.9650-13-olteanv@gmail.com> In-Reply-To: From: Vladimir Oltean Date: Mon, 20 Apr 2020 21:10:27 +0300 Message-ID: Subject: Re: [PATCH v5 12/12] arm64: dts: ls1028a-rdb: Add a spidev node for the mikroBUS To: Geert Uytterhoeven Cc: Mark Brown , linux-spi , Linux Kernel Mailing List , Shawn Guo , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Esben Haabendal , Angelo Dureghello , Andrey Smirnov , "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 Hi Geert, On Mon, 20 Apr 2020 at 21:07, Geert Uytterhoeven wrote: > > Hi Vladimir, > > On Wed, Mar 18, 2020 at 1:17 AM 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 > > Thanks for your patch! > > > --- 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 { > > Please use generic node names, e.g. "dac@0". > It's not a DAC. It's really an unpopulated pin header. I would have really liked to have access to that as a char device with the default board DTS, via spidev. That being said, there are warnings to not use the "spidev" compatible in device trees. So if what I want is not possible, I'd rather drop the patch altogether. > > + compatible = "rohm,dh2228fv"; > > + 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; > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds Thanks, -Vladimir