Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D0F4C76196 for ; Wed, 15 Mar 2023 05:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbjCOFdp (ORCPT ); Wed, 15 Mar 2023 01:33:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231220AbjCOFdm (ORCPT ); Wed, 15 Mar 2023 01:33:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8102D2411F; Tue, 14 Mar 2023 22:33:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 149B261AA3; Wed, 15 Mar 2023 05:33:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21124C433D2; Wed, 15 Mar 2023 05:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678858385; bh=JDBgkW5qQtTPm1yWAp51l+ZgG0AKs3eXBoW5HnCX/MA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kbwOpU7JF4hU5h6xcfj11Qgfvtpqh5mMi0uUMmOwi5tvKTgG5FeQrIbm3ZObMJxOi Pd2OV69aatTDB3f705BKz/UIy6hUMExg9s86PkTCcSSvedmKica8rkCf5WBZ4tTbUI 04OSFs0GXPMawq6acf4ZOGnSk2edfAM2m2YfJPuRDfaWSn+aiWfrPmvYeFVnygwxkh Fm8ASG9bTzGUiGqnDrCFHYTTyvaNl4fA/j57alcPP9QxEwPXj9p/obP3lGfpvLBmxD qtwCkSPnTIIN5ZyOHbjrPmc4NdUgLmKTP9oek3xHkwWId/JdNWaPYqzbu2RvfDGsZ2 Dqe2eGY1KWRjQ== From: Kalle Valo To: Christian Lamparter Cc: Arnd Bergmann , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, Tony Lindgren , Aaro Koskinen , Felipe Balbi , Arnd Bergmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , =?utf-8?Q?Beno=C3=AEt?= Cousson , Russell King , Dmitry Torokhov , Johannes Berg , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] p54spi: convert to devicetree References: <20230314163201.955689-1-arnd@kernel.org> Date: Wed, 15 Mar 2023 07:32:57 +0200 In-Reply-To: (Christian Lamparter's message of "Tue, 14 Mar 2023 21:18:55 +0100") Message-ID: <87jzziwpdi.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Lamparter writes: > Hi, > > On 3/14/23 17:30, Arnd Bergmann wrote: >> The Prism54 SPI driver hardcodes GPIO numbers and expects users to >> pass them as module parameters, apparently a relic from its life as a >> staging driver. This works because there is only one user, the Nokia >> N8x0 tablet. >> >> Convert this to the gpio descriptor interface and move the gpio >> line information into devicetree to improve this and simplify the >> code at the same time. > > Yes, this is definitely the right idea/way. From what I remember, Kalle > Valo was partially involved in p54spi/stlc45xx. The details are very fuzzy. > So, I could be totally wrong. From what I remember Kalle was working > for Nokia (or as a contractor for Nokia?) at the time. I wrote stlc45xx driver as part of my thesis when working for Nokia and I think then someone wrote p54spi after that. Oh man, this was a long time ago so hard to remember :) -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches