From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756908AbcBIPQc (ORCPT ); Tue, 9 Feb 2016 10:16:32 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:39746 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756864AbcBIPQ2 (ORCPT ); Tue, 9 Feb 2016 10:16:28 -0500 Subject: Re: [PATCH 0/3] Add hardware dependency to TS-4800 board drivers To: Damien Riegel , Jean Delvare References: <20160209111549.7e9b4fbb@endymion> <20160209150810.GA7014@localhost> Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Thomas Gleixner , Jason Cooper , Marc Zyngier , Wim Van Sebroeck From: Guenter Roeck Message-ID: <56BA02CA.4070500@roeck-us.net> Date: Tue, 9 Feb 2016 07:16:26 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160209150810.GA7014@localhost> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/2016 07:08 AM, Damien Riegel wrote: > Hi Jean, > > On Tue, Feb 09, 2016 at 11:15:49AM +0100, Jean Delvare wrote: >> Hi all, >> >> This adds hardware dependency to 3 drivers for the Technologic Systems >> TS-4800 board. Thanks to these dependencies, users of other systems >> will not accidentally enable these drivers. > > These drivers are for IPs implemented in an FPGA. For now it is true > that they are used only on one board with an iMX.51 but this is not a > strong dependency and it might change in the future if Technologic > Systems decide to reuse these IPs on boards based on different SoCs. > > As the FPGA and the SoC are two separate chips, I don't know how such > dependency should be expressed in kconfig. > You could add a Kconfig option for the FPGA, which currently depends on the SoC. Guenter