Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10423137imu; Thu, 6 Dec 2018 00:24:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vwju3xsfbTH4rjrVJcpak9z4HKVS8tvQ5EGBqFl5W97yK8s3bke67ZRrjs6o1AwugvIclI X-Received: by 2002:a63:5b1f:: with SMTP id p31mr23120713pgb.56.1544084658897; Thu, 06 Dec 2018 00:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544084658; cv=none; d=google.com; s=arc-20160816; b=fxNMurDqBVXMVr9gWKUuyWjX1Eo519Q/gCHUj0PRkXlbqpCcjzyf1v2bHtdKbE2rID 3HZsregAiL1qFPX2HeEvKosvdYOau1vMo8LcTkJFvOPJhYEBjC6JTqZEkNo8GvgoEJdd 2BlY7xWnobWVbqdHhzEwkFuY2lLOfSacDGJre8HoZOA18fpo0WvUEG/cJtpzQxQOQjzQ y8QqerDXkCVUMwNMMgZHZDlpMGOqo9BSCV7vPMmUZE/9pf3GqT/ysx/Uh+0mI+EkaQuj cPj9FJPWiUnyrwzMgGLB/5hGwx8S2vo8NqSWClBHQ3/rkhN6tv5B6G3StxPyCsGWbTaj SDEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=ICA6iXBTNLGKA6owiN7918Dl0TaVJHyzhZgJxOSBcwg=; b=bk/SEvTw7rBKWRh8435n7uqv29Q668JbodtV2tsJx7NTaifZd71XfJLQao83HYNB38 7hFwIIMGUJnwX32QQOsXH/wViF+QWJk23oRmR3EZLsyrTC5atjLxi7GYNQRm1l3UUFqa YVpvrMsDRbbF4KuKDntGBXkWw27irplu6Zv5cf+v/hSiEuW/22rcpQbgt56JknlLBnje 83RcSPbkJs71enoahG6Tw2tHCQ341fRnDKOh1lz25uOuMb8FCcf9+WxnrYsXHu2VG+RJ htgXm9X56VbE7Viu36l04wQ6UAuVIYLfDNxqM10KAlnQY8f/z+9HT0yCIn0Ti/+2UDQt FYUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k64si20117153pge.7.2018.12.06.00.24.03; Thu, 06 Dec 2018 00:24:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729163AbeLFIXX (ORCPT + 99 others); Thu, 6 Dec 2018 03:23:23 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:56523 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727575AbeLFIXW (ORCPT ); Thu, 6 Dec 2018 03:23:22 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 439TBZ4qF1z1qvvw; Thu, 6 Dec 2018 09:23:18 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 439TBZ3Swyz1qsKF; Thu, 6 Dec 2018 09:23:18 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id nNIHhw2-kvCa; Thu, 6 Dec 2018 09:23:14 +0100 (CET) X-Auth-Info: LKrGr5vTkuxSQCQnQQjXo0+XTceINZBWkCIRzVP3kkY= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 6 Dec 2018 09:23:14 +0100 (CET) Date: Thu, 6 Dec 2018 09:22:55 +0100 From: Lukasz Majewski To: Fabio Estevam Cc: Rob Herring , Shawn Guo , Mark Rutland , Sascha Hauer , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Sascha Hauer , Stefan Agner , Fabio Estevam Subject: Re: [PATCH v3] ARM: dts: Add support for Liebherr's BK4 device (vf610 based) Message-ID: <20181206092255.2359f7e6@jawa> In-Reply-To: References: <20180921152726.31742-1-lukma@denx.de> <20181009105028.17971-1-lukma@denx.de> Organization: denx.de X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/fNAwIrkEodxHoPV9nxRzz8E"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/fNAwIrkEodxHoPV9nxRzz8E Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 5 Dec 2018 21:12:46 -0200 Fabio Estevam wrote: > Hi Lukasz/Rob, >=20 > On Tue, Oct 9, 2018 at 7:50 AM Lukasz Majewski wrote: >=20 > > +&dspi3 { > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&pinctrl_dspi3>; > > + bus-num =3D <3>; > > + status =3D "okay"; > > + spi-slave; > > + > > + slave@0 { > > + compatible =3D "lwn,bk4"; > > + spi-max-frequency =3D <30000000>; > > + reg =3D <0>; > > + }; > > +}; =20 >=20 > This is causing the following dtc warning in linux-next: >=20 > DTC arch/arm/boot/dts/vf610-bk4.dtb > arch/arm/boot/dts/vfxxx.dtsi:550.24-563.6: Warning (spi_bus_bridge): > /soc/aips-bus@40080000/spi@400ad000: incorrect #address-cells for SPI > bus > also defined at arch/arm/boot/dts/vf610-bk4.dts:106.8-118.3 > arch/arm/boot/dts/vf610-bk4.dtb: Warning (spi_bus_reg): Failed > prerequisite 'spi_bus_bridge' >=20 > If spi-slave property is removed the warning is gone. The spi-slave has been added according to review suggestion: https://lkml.org/lkml/2018/9/26/836 That is the way to handle "slave" SPI operation mode across the kernel.=20 At the time of development - I've checked my NXP related patches with W=3D1 passed to make. No warnings observed then. >=20 > Looking at drivers/spi/spi-fsl-dspi.c I don't see the "spi-slave" > property being handled there. >=20 > Any ideas on how to fix this? The *.dts file for Vybrid was sent and work on in parallel with the SPI slave code implementation for Vybrid: https://patchwork.kernel.org/patch/10680431/ Unfortunately, for the above patch I did not received any feedback since mid September. >=20 > Thanks Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/fNAwIrkEodxHoPV9nxRzz8E Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAlwI3F8ACgkQAR8vZIA0 zr1XwAf6AzT3SWC4ta3Q1VnPdsJTyE+ICHtxvUx2K7CwI8Nr5Ccu05Z0X6SxIaKJ I+IcpI9ywCPueOlcl1+ltTHGXY+K2xkQLqhqlPuWA7jWgkPIN56pXVD1ncB4+6LV i9AR1KpaAM9MwJDzVx9wbP4wjOgNqi1jqfkFJ0T9goyC6zcjTNPFrU847krUGu+D T9jO01LSxD3qszbIPEqfhoXF5VsE61oChuD0tmLJmerFP0+nJ2lXIN7pq1c80XBp dPpRl7vWGjyc353QpaOp09re5iiYHzRihKvpLlgQeZqOz47UnL8/8YjI+dPHFgud aqQW5e36WOm+E6Nn1tY4lszaIPredg== =MIct -----END PGP SIGNATURE----- --Sig_/fNAwIrkEodxHoPV9nxRzz8E--