From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.matrix-vision.com (mail1.matrix-vision.com [78.47.19.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7168BB7191 for ; Fri, 3 Sep 2010 18:42:11 +1000 (EST) Subject: How to define an I2C-to-SPI bridge device ? From: =?ISO-8859-1?Q?Andr=E9?= Schwarz To: DevTreeDiscuss , LinuxPPC List Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 03 Sep 2010 10:36:19 +0200 Message-ID: <1283502979.17812.22.camel@swa-m460> Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, we're about to get new MPC8377 based hardware with various peripherals. There are two I2C-to-SPI bridge devices (NXP SC18IS602) and I'm not sure how to define a proper dts... Of course it's an easy thing creating 2 child nodes on the CPU's I2C device - but how can I represent the created SPI bus ? Is the (possibly) required driver (of_sc18is60x_spi ?) supposed to be an I2C slave or an SPI host driver ? Any help is welcome. -- Mit freundlichen Grüßen / Best regards André Schwarz ___________________________________________ MATRIX VISION GmbH - Entwicklung / Development - Talstraße 16 D-71570 Oppenweiler Fon: ++49-07191-9432-420 Fax: ++49-07191-9432-288 eMail: andre.schwarz@matrix-vision.de web: www.matrix-vision.de MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich