Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1450441rwb; Wed, 7 Dec 2022 13:19:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Y0/GcEYGusagMJgIw+o+G/uVSr0BrMh9W8VaggKvibr7xBbTIg4j8rcTkqVjJba0v7Tu4 X-Received: by 2002:a17:906:6809:b0:7c0:cd95:bbaf with SMTP id k9-20020a170906680900b007c0cd95bbafmr19157021ejr.460.1670447975981; Wed, 07 Dec 2022 13:19:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670447975; cv=none; d=google.com; s=arc-20160816; b=XKNIkhUFP8PrwmBFeI0OVN0Qoc8aiHcHqB9fdwnqMEwKTENvtVHSdgfxEj/HGeTJFf PxRj2GahqF2BP0LQ+Uk1duUGPs8c2UG+AN5L5xtYzF7Jzq9X3LjNpTBdG6YJ10dlIBl6 96EsbWCoI1Tv1Ye5ujccK9fKvjrKeY3Z9g3ZNkVY7rnPCDzFRHWHjCdbzc8QfjwNfH7L QWd4uPG9UhRuo/HcS7rf7PnZ0LvR2VEz/4zqGdmxl/zSMdmHsCtvqFo/1nGQfe+5Gz3q nalgxQgb08RC8+M+XvbKVV3SpvCsC3wDT7Vi/MV6PX8ajRP+4m7zQvLLQFBVgNZMQ+mv Hfww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UwDWcN9owuZJs09WFthlVYFZXHoUW46i6bINqQyIAvY=; b=TlmPM7kQvIBQ/iCI+Ig/85dwg2p3MZG9R2sjlHICx0d84g0qZpREMN8J7fdN8z4hhZ z4iY+kpTOY35alniAAePENpG04KN89k3qqncIUB5KvqjEags4TetLmq8hH25OsM8sdlb waAhPwpc1whvCIi4lpAhkpB+5QLTTMS8nJoG0EGsaUlmIL+OlJu+kGRXawHHwW34jr3N 6ZgbRVJ3PYeuECpY79/GYyKvw39gIdeKJFG/NRbfFrvSy/WL6Jt2ZyVlppiSM5ZiLqV3 c0jme0jXcorNUssNuzU+91DIm8jbzRNoOmK3+0Da7MrpYSnMrMqAzJ8rFApGzAoqdKEn mf9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vpbqNkTX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r15-20020a05640251cf00b0046b1f708941si5601955edd.556.2022.12.07.13.19.17; Wed, 07 Dec 2022 13:19:35 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=vpbqNkTX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiLGVIX (ORCPT + 75 others); Wed, 7 Dec 2022 16:08:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbiLGVIV (ORCPT ); Wed, 7 Dec 2022 16:08:21 -0500 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 595C355AAB for ; Wed, 7 Dec 2022 13:08:20 -0800 (PST) Received: by mail-yb1-xb36.google.com with SMTP id c140so24309461ybf.11 for ; Wed, 07 Dec 2022 13:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UwDWcN9owuZJs09WFthlVYFZXHoUW46i6bINqQyIAvY=; b=vpbqNkTXD8MjDifxCc6rBxe/TOwdIp8cwUe8WkOb6Zv2M0nUhPH1E7pSBL3fAqhUWW oizMsx+jqjY3bWGgNKeCUsluLANd+SkuUr6CPbOXhQCiSSDipdeeOMtZ1aCpxjrPxCs0 s+g1qXGatM+7JuTpRiKdJ55zvq5rL8injVM5XUpEo3hBAuaPUkg+IP87SdVeDP1gxUeH 36M7xmOwbdLNK0X+UamKBKY1LnE6b0Uo5VDaQx9Ms+g/U5hBwj50ol4j3AP/A6JxB7PP bpDvkaBnthKmcuxJq7TXozFvcr+MOaGU2HETTpiUCUW+z5mfuYjr2ldu7OBlnHtnhBqR Ocaw== 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=UwDWcN9owuZJs09WFthlVYFZXHoUW46i6bINqQyIAvY=; b=CJIDvGF+//Rnc1IzLXny5EOhFMDUtEK190xqLM2IWvppYGavCt4zylHcr0By4NE2WK KlV//5zV75+ABTZmxTBGpSwSSmM0ptllho1YQeZ+9WVAeBhJ19++atknvLmXezQrVM4l ew4jRdHBiGz5cwfmlLaDP6pDA4WBRf1xerPptro55vNQ7s4mRcr1thsvoooH5LmdDtvz 22/yy9hYSfc+6ZmNCUzAHR0L8IBWr3XujzgH9MC2C31Wb7QzAPkD8SjUoz/ulTKlST9r 39cX09Mqi1ygbjjMTfrAA+CctdAfikdEEHIvgtHeRGfw7Dd1HJO/lPGmT6FJrYSuUuUi 1V4w== X-Gm-Message-State: ANoB5pliH3/5mROUMiFwRjkY7ySx12/RNiqvSXDcCjMw2SgXbvPVfu8P PZGl4fHR33DcrKgnRT5bvzrDO4lya3E8dL+SK6E7UA== X-Received: by 2002:a5b:7c7:0:b0:702:7a86:31e with SMTP id t7-20020a5b07c7000000b007027a86031emr10784457ybq.506.1670447299498; Wed, 07 Dec 2022 13:08:19 -0800 (PST) MIME-Version: 1.0 References: <20221207163359.26564-1-larry.lai@yunjingtech.com> In-Reply-To: <20221207163359.26564-1-larry.lai@yunjingtech.com> From: Linus Walleij Date: Wed, 7 Dec 2022 22:09:35 +0100 Message-ID: Subject: Re: [RFC 0/3] Add support control UP board CPLD/FPGA pin control To: "larry.lai" Cc: lee@kernel.org, andriy.shevchenko@linux.intel.com, pavel@ucw.cz, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, GaryWang@aaeon.com.tw, musa.lin@yunjingtech.com, jack.chang@yunjingtech.com, noah.hung@yunjingtech.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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, Dec 7, 2022 at 5:36 PM larry.lai wrote: > The UP board is the computer board for > Professional Makers and Industrial Applications. We want to upstream > the UP board 40-pin GP-bus Kernel driver for giving the users better > experience on the software release. (not just download from UP board > github) > > These patches are generated from the Linux kernel mainline tag v6.0. Why are these patches tagged RFC now? Weird. Came to think of this: Shouldn't the subdrivers for pin control LED etc have: default MFD_INTEL_UPBOARD_FPGA i.e become y if the core driver is y, becomes m if the core driver is m. Of course it is possible to run around in menuconfig and activate them all manually interactively and be frustrated that something is missing still but setting them default like this saves everybody's time. Activate the MFD core driver and everything else comes with it, then it can be turned off at request. Yours, Linus Walleij