Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp570234rwe; Wed, 31 Aug 2022 07:28:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR6FStpTGLL59J0fYyQKzp1pQaT+/zn61cHyZ6fecXcmveVEFCPrAf688UKiIFOOcQbzkQWy X-Received: by 2002:a17:902:ec90:b0:16d:d156:2c01 with SMTP id x16-20020a170902ec9000b0016dd1562c01mr27044057plg.114.1661956137109; Wed, 31 Aug 2022 07:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661956137; cv=none; d=google.com; s=arc-20160816; b=IXEiLkd+IPZ6hRM/Q44RlaEKnkH69UR/toMNan7Ae7L1x0kFQ6KtVZly0EX9SbShTs CVWhUZRqCCsExkoewNRnnP8acRsTVzYKkc8yb2AW7pFT3HCw1q8wBTD7A317vUqe852m brpTpAkzxIHJG30HXSSftZZL+siiV9tq4LmykvDGyML6X/8Ly+QBeto/Ydyz42fH8vxW aldP/qGoj25h/fnikmXoHSFuxjFV+coIDedPx3Gc79Re5YFBuHyIdJXqSip8470N5pMY DwyVqV7PMqC1J5wQM5ugIPGzQfXV/AJHV7Uj6D0+7ZMIX1O9/ITT94VmnKtf6G90Q00l UZLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=M+czJvLLl1vH9wdCpgO3Jrn9FoWep4d/gsIAplzkro0=; b=siQ1Wn5aBL+v5zR7GeWYV0/OmQeX8x5D8JQFncM7zAHDzj+/X9EIKdaGS3MhxJG3Vk AbNSDtZeofuqvZzp6ipeDpom866p51NDepM1tW2KzVm7dRArppZibURHNpXlXjSBE2um oVsVJzTpSFArenrCJT6BhY6JCvs1/jUoWj/ac9NSoKF/XGsOeKB//lisOCCracOmQlxH rlsT4nsjh+RvN9PwFZlc0OcBZVjH/cq7Z4hAd8WyUOs6MS9xgT9Dq+tsZiPCpt4D96Am wGDiny6qqUD5fWBCuJ53+lI0yvh4656x7PTYq6H/dMN/SDBXDYW0sT/j3+wL0RQdc64L zCAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg10-20020a1709028e8a00b00170d34b95e0si5196123plb.85.2022.08.31.07.28.46; Wed, 31 Aug 2022 07:28:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232087AbiHaON7 (ORCPT + 99 others); Wed, 31 Aug 2022 10:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232106AbiHaONe (ORCPT ); Wed, 31 Aug 2022 10:13:34 -0400 Received: from mail.gnudd.com (mail.gnudd.com [93.91.132.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C23D75A2; Wed, 31 Aug 2022 07:13:19 -0700 (PDT) Received: from dciminaghi by mail.gnudd.com with local (Exim 4.94.2) (envelope-from ) id 1oTOSL-0004O9-3A; Wed, 31 Aug 2022 16:12:37 +0200 Date: Wed, 31 Aug 2022 16:12:36 +0200 From: Davide Ciminaghi To: Linus Walleij Cc: 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&. Sender: ciminaghi@gnudd.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :-) Thanks Davide