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 5757FC27C76 for ; Wed, 25 Jan 2023 17:48:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235766AbjAYRsK (ORCPT ); Wed, 25 Jan 2023 12:48:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbjAYRsI (ORCPT ); Wed, 25 Jan 2023 12:48:08 -0500 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DE5110262; Wed, 25 Jan 2023 09:48:05 -0800 (PST) Received: by mail-qk1-x72e.google.com with SMTP id i28so10232729qkl.6; Wed, 25 Jan 2023 09:48:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=B5h79gATJdLg+JCRb4XZmPChOYH13ROvGXfoO8M0bQQ=; b=RAHAUQee6eROdwcbsdIlBOXDKZQaY+SVNQnSBwmdn7Eez5kDbg93pdImce77l+Hl4L doMypibEmgpu9/Yuu2Co1877r8gZfwgPhSoW6F4POvkBinZqYBnBDtL+2WPfSRT0qtPT lGZ9ZFDVB4l3ULAnYmXlMFIqshGytWEjI7InaR+xC6rJ1de/mOi5giGhpAeSwUPEkFnu 9uN3kEJOO7XI/0bz3/oxzufIJWzvWUrcjocI9SXu+vMPEgbhEPYn2G+mwqUxxz7thTOe M1+lNb2N8Z0D2Zh3MRBm/zM4wwCWseazyRKDpLYPTWVicwtDA9m/KEfUvdPUACrKkdg8 Hv7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B5h79gATJdLg+JCRb4XZmPChOYH13ROvGXfoO8M0bQQ=; b=cnLEgqZnbEru01dXi2Fe3lG3TxH8Sq0VEEow4Zw3CSmUCY4uy/PIKRUsRQ0N5eZyOS 2PBHfNZY3Y68VI562IpiFB/E2PA9mo1LukLTEnqT3+hHoocUm2Fs1NwWHkHbQ7iWNhMA iRsbNqVXQvhI3RIS7oVUeTwysIpmh8SfXMBxhOJ6eczDYQj0WqpNe3rvMlz0TJwYhDpB CVs8pSD8stX4ZznUuwpBZWURnqubxtPAhoJ0uTFIHPGj6bfIgpznPfap7WnpFUJj+FO6 I0CSx9cnywCM6u9yi3NUHFQrrOAJY+NqFWPsCMJVK/tf2/+R002eBay1F/ALDvNgiUKA hKxQ== X-Gm-Message-State: AFqh2koXeQbDGbqLYQPcLHwJ96SlVblzzp7vnd10NQgDpRPKGdvw0mC6 gmOzTGrHH452q0TSuqEMe3mqP/Q0gYMU39bljNs= X-Google-Smtp-Source: AMrXdXu5kH3gpMc7G6+s8He9uRofw2xxVTn/XHDtgcGtNm3IZAo1g9JnV+eZ7pS482euusPK90O0op4mFLblVKWJW2w= X-Received: by 2002:a05:620a:56d:b0:706:5fba:6192 with SMTP id p13-20020a05620a056d00b007065fba6192mr1835139qkp.383.1674668884558; Wed, 25 Jan 2023 09:48:04 -0800 (PST) MIME-Version: 1.0 References: <20221007153323.1326-1-henning.schild@siemens.com> <20230123214859.725cd1c3@md1za8fc.ad001.siemens.net> <20230124143514.1abf933f@md1za8fc.ad001.siemens.net> <20230125183659.7dd9e0f5@md1za8fc.ad001.siemens.net> In-Reply-To: <20230125183659.7dd9e0f5@md1za8fc.ad001.siemens.net> From: Andy Shevchenko Date: Wed, 25 Jan 2023 19:47:28 +0200 Message-ID: Subject: Re: [PATCH v4] leds: simatic-ipc-leds-gpio: make sure we have the GPIO providing driver To: Henning Schild Cc: Lee Jones , Andy Shevchenko , Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 25, 2023 at 7:37 PM Henning Schild wrote: > Am Tue, 24 Jan 2023 15:46:01 +0200 > schrieb Andy Shevchenko : > > On Tue, Jan 24, 2023 at 3:35 PM Henning Schild > > wrote: > > > Am Tue, 24 Jan 2023 11:46:34 +0200 > > > schrieb Andy Shevchenko : ... > > > I would like to keep the number of files and CONFIG switches low, > > > with a focus on the config switches. Every new CONFIG=y/m has to be > > > requested in countless distros. So far i only dealt with debian > > > where ubuntu might follow, did not check others with recent enough > > > kernels ... like fedora if they have the SIMATIC stuff turned on or > > > need to be asked to do so. > > > > If you put the proper defaults, you can get good results without > > torturing distro configurations. > > Meaning i could try sending a patch to set "default m" for all three > SIEMENS_SIMATIC_IPC > SIEMENS_SIMATIC_IPC_WDT > LEDS_SIEMENS_SIMATIC_IPC No, default to another symbol which will be the core part. Again, look how 8250 is organized. There is no default m (at least new ones, I don't remember about any historical defaults as such). > > I was so far too shy for that. I would even go further and add > GPIO_F7188X > W83627HF_WDT > > > See how 8250 has been splitting over the time, we have +~5 new Kconfig > > options and their defaults are to keep the current behaviour without > > the user needing to do anything in their configurations. -- With Best Regards, Andy Shevchenko