From mboxrd@z Thu Jan 1 00:00:00 1970 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 0D27FECAAD1 for ; Wed, 31 Aug 2022 21:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232228AbiHaVtL (ORCPT ); Wed, 31 Aug 2022 17:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbiHaVtI (ORCPT ); Wed, 31 Aug 2022 17:49:08 -0400 Received: from mail.gnudd.com (mail.gnudd.com [93.91.132.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559EDF72CB; Wed, 31 Aug 2022 14:49:04 -0700 (PDT) Received: from dciminaghi by mail.gnudd.com with local (Exim 4.94.2) (envelope-from ) id 1oTVZO-0004bU-3K; Wed, 31 Aug 2022 23:48:22 +0200 Date: Wed, 31 Aug 2022 23:48:22 +0200 From: Davide Ciminaghi Sender: ciminaghi@gnudd.com To: Andy Shevchenko Cc: Linus Walleij , Arnd Bergmann , Christophe Leroy , Alexandre Courbot , Alexandre Courbot , Bartosz Golaszewski , Jonathan Corbet , Russell King , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , "open list:GPIO SUBSYSTEM" , "open list:DOCUMENTATION" , open list , "moderated list:ARM PORT" , "open list:GENERIC INCLUDE/ASM HEADER FILES" , Alessandro Rubini Subject: Re: [PATCH] gpio: Allow user to customise maximum number of GPIOs Message-ID: References: <87f2ff4c-3426-201c-df86-2d06d3587a20@csgroup.eu> <515364a9-33a1-fafa-fdce-dc7dbd5bb7fb@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Face: #Q;A)@_4.#>0+_%y]7aBr:c"ndLp&#+2?]J;lkse\^)FP^Lr5@O0{)J;'nny4%74.fM'n)M >ISCj.KmsL/HTxz!:Ju'pnj'Gz&. Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 01, 2022 at 12:07:26AM +0300, Andy Shevchenko wrote: > On Wed, Aug 31, 2022 at 5:14 PM Davide Ciminaghi wrote: > > On Wed, Aug 31, 2022 at 03:32:25PM +0200, Linus Walleij wrote: > > > On Tue, Aug 30, 2022 at 9:58 AM Davide Ciminaghi wrote: > > > > > > > the sta2x11 was a chip containing AMBA peripherals and a PCIe to AMBA bridge > > > > (it is still in production as far as I know, but deprecated for new designs). > > > > It would typically be installed on x86 machines, so you needed to build and > > > > run AMBA drivers in an x86 environment. The original drivers we started from > > > > had platform data, but then we were told to switch to DTS. > > > > > > For the record I think that was bad advice, I hope it wasn't me. > > > But the world was different back then I suppose. > > > Adding DTS to x86 which is inherently ACPI is not a good idea. > > > Especially if you look at how SBSA ACPI UARTS were done > > > in drivers/tty/serial/amba-pl011.c. > > > > > now that I think of it, ACPI was also listed as a possible choice, but the > > problem was that we didn't know much about ACPI, and took the DTS way. > > So there was no bad advice, just fear of the unknown :-) > > Feel free to ask, we have experts in the mailing list(s). > Thanks ! I'll keep that in mind in case I need some ACPI advice. I'm afraid it's too late for the sta2x11, though. Its kernel is now a downstream one, and it's been freezed, as the SOC has been deprecated for new designs. As Alessandro said, we'll submit (or ack) patches for removal. Thanks again and regards Davide