From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Staudt Subject: Re: [PATCH] i2c/busses: Add i2c-icy for I2C on m68k/Amiga Date: Mon, 12 Aug 2019 13:48:41 +0200 Message-ID: References: <20190811043253.24938-1-max@enpas.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Linux I2C , Wolfram Sang , Linux/m68k , Linux Kernel Mailing List , John Paul Adrian Glaubitz List-Id: linux-m68k@vger.kernel.org On 08/12/2019 01:07 PM, Geert Uytterhoeven wrote: >> It sets the sensor modes in the LTC2990 and enables the three sensors listed below. I should have clarified this. >> >> I tried to integrate this in the driver, but ltc2990 only allows reading this configuration out of a device tree. Is there a good way to fake a DT entry in the init function? > > You can add platform_data support to the ltc2990 driver, and pass it > through i2c_board_info.platform_data. Thanks, that sounds good and I'll look into it. Max