Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp169352pxa; Wed, 26 Aug 2020 07:36:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMZp4/OZbiAs/122T3P1uqhOJV4C9KZ+4nev2J3mvCBUg3aZ+m55+eyGFRA0Ma0E3ZVijx X-Received: by 2002:a17:906:5914:: with SMTP id h20mr11948760ejq.346.1598452616617; Wed, 26 Aug 2020 07:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452616; cv=none; d=google.com; s=arc-20160816; b=gXTVU0kw8+3PHEfhaaaXQJkxok6tkVh2H9AO3Z4dgAB/H0CouK3I3Jn3ZH74Pw7Y29 BBcgyixlRfzIiYOGR0EEFYmdCps6wdk3LDl8VtBZq4WtJocgnEXJJL1LPSLhuT6ngKaK 4idBfJpk5I3e59FJsYi2Xv/VHVQcm/Vg7mxoZu6JrFAnF4Hg6jZIo1EtFCM5vYip3xDb B6TX4nKClc1jIyFGp3fEoz3i5A/kw+xjOl3YUsUkH3Z2spaUveluZ2i7d0B3Y6RwK09H qEsuMd4cVRpA4Om51AMomURmB3Yh4i5JzCbvRDCc8r5OXYI6MsY0pAqhANFdAKuqrZD+ VwnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vB8w0JJKlnlxn17o2Ovs8DC4KpU46I18rrL0qFvt2h4=; b=uhIpr9DC+C6GWk8jLjsuTBHHHguDc9KaQ6Reog5RqTU2lo03EMjRkQEWjG4IV3p+gt 6p8tLVpdO9T4/qoe1d6zF5f2LjS4cC4K6zAkWZku3bdimmCEOV9U9nYC7GjGHn70ngLU ksaMMNoMINGdCBYoyOOdgBiSVmXZD7D/FiqwwafaIuXpLj/Z4LcoDqkblt2NTSdTtANd aqdd6ZuvHWYP9M6eBaYH90hs1xTD+1BqerLnpmicsE69JvaGIdk1ZzH/bz5bowEQd2Bq +VvBOq5jkoZiKe3OuM39NTyQUQnLz4H02saxXw0109s97knssB+joGKDZpDYc2j43fCI jxBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cpGZhQOG; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si1482416ede.238.2020.08.26.07.36.34; Wed, 26 Aug 2020 07:36:56 -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=@kernel.org header.s=default header.b=cpGZhQOG; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728374AbgHZOY1 (ORCPT + 99 others); Wed, 26 Aug 2020 10:24:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:57654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728202AbgHZOXu (ORCPT ); Wed, 26 Aug 2020 10:23:50 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D2ECB221E2; Wed, 26 Aug 2020 14:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598451829; bh=A8bT4gpJk+PvJm80XkjyjxOjjrEqUwRY+LaS3YZKKto=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cpGZhQOGxjeYLKpWhS/cSaND/Zxo/Y4JV7DyqpYiQS+CQUgIokFuJR0X6IW9ebNef jvwWLwrxfcfutVgmJ4TLnHWyfEovinhD0nVQ1fm/s+b8eVnGF7SFgN6fZM3T/MIjDs 78NbKiVfVl3Yo7k4FR8GRGUerM63SADzP4OMGIWM= Date: Wed, 26 Aug 2020 15:23:12 +0100 From: Mark Brown To: Vladimir Oltean Cc: Qiang Zhao , kuldip dwivedi , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Pankaj Bansal , Varun Sethi , Tanveer Alam Subject: Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support Message-ID: <20200826142312.GH4965@sirena.org.uk> References: <20200821131029.11440-1-kuldip.dwivedi@puresoftware.com> <20200821140718.GH4870@sirena.org.uk> <20200822152118.rlwbcgfk4abjldtg@skbuf> <20200826114758.4agph53ag2fin6um@skbuf> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RwGu8mu1E+uYXPWP" Content-Disposition: inline In-Reply-To: <20200826114758.4agph53ag2fin6um@skbuf> X-Cookie: Should I do my BOBBIE VINTON medley? User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RwGu8mu1E+uYXPWP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 26, 2020 at 02:47:58PM +0300, Vladimir Oltean wrote: > - The compatible string plays an integral part in the functionality of > the spi-fsl-dspi driver. I want to see a solution for ACPI where the > driver knows on which SoC it's running on. Otherwise it doesn't know > what are the silicon parameters of the DSPI module (XSPI present or > not, DMA present or not, FIFO depth). I don't see that now. I just see > something hardcoded for: > { "NXP0005", .driver_data = (kernel_ulong_t)&devtype_data[LS2085A], } Based on some other stuff I've seen with ACPI on NXP stuff it looks like they're following the same scheme but only caring about that one SoC for the time being. --RwGu8mu1E+uYXPWP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9GcFAACgkQJNaLcl1U h9DWBwf/RbhMMV43CmV4B9YAHIO3SYiuzAS57g1dZwgEy/b+D0qN7NofL/c/M61q ehswXZ8kG1o4U3U7Kveb+CPOVLNDL0JGlf7RT7oX2027ER32kBqC6LbqhXm/blGA 4xOws3MJmy9fZHyPTMqGJPHjVyJFE0HU6yy3PjOuHDMP/+AvJs7/ZQed0DXUYULF qPPFeN/O2uhl/4ODq/CpyyNjqIXnZzF7AGGd8vqLX5FP6FJH2CM8F2hoOu/SKKCy HsQcxOG2yp3XmjxlloubFteSpuMOQ3XVP1H+xG1HvgXt8iqWQvlb767LBqK8qOBv duwtA0RdsVc7n504Un0QlpgQz/f3eg== =AqXf -----END PGP SIGNATURE----- --RwGu8mu1E+uYXPWP--