Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp183821rdh; Mon, 30 Oct 2023 19:17:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBbusrCVjGjNAYc7j5Zh3bsnzcu9Cvr0TLTWpWaOCN/21tTdA5bAPgKFOScSPrWNWvYT7L X-Received: by 2002:a05:6a20:440b:b0:14c:d494:77d1 with SMTP id ce11-20020a056a20440b00b0014cd49477d1mr11863104pzb.10.1698718643775; Mon, 30 Oct 2023 19:17:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698718643; cv=pass; d=google.com; s=arc-20160816; b=hrm7xj4e7evPpE67NodrBMH/NANVrFDstFMzsIogS0n8NYqa3GEC1NNOqlM+4pcghW 7aegPloKEUJakdun1tkwEm54Qwx4e/Tws5yNAV7k6o1W2v63ckklKB7XCvCl+uEYk0yi i7RHyApGL+FzfmatZ5hcJ6/L7CkfK+7c8ayKBwQfH7A1Sk5DVGpNwEeBgJgsnZdehmCv CoE9UAe7ER1Sh1GhKgZeFX9a7rgVxAHpNhb+obcx59Iyv5lOffPMa3H3CvPeZherlx5o 12OpSMWrX08m3scQsz3LPpM6k/fbNRoEZO7U4SlQCqEBelYZdlIz/ETmmF1Vw1ZOQJ4V VOgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id; bh=GbH7xZM4pJvlBkLY/qBXLENR9CukSKl3Vxozja7yM7Y=; fh=fmFhNm/AO2yPLCI4EzhaTlAmnqAvbxyddVAWElNKSY0=; b=ZIqKBZUGCEx9D3SMyoWykYUn099T9K/tmEzz5qWJaTfvbVzXp6Bah4kTBIv+mrWnAR 3Fu8Cnk//YMhN4GEhKNqlRr/VKVSNVRPGmI2+jgBRWet0K58rvlLzsezu2qMyM02HzqP 9xDinN0/BoG3Yjx+iTW3O/alV8AWZH8AtLJxNagrEY6LEvnjDOCTD44+a/QagECy0SYK YDrwtlhaqr7Az86MSJ3HEzfsPLP7Y1PnRwA7fhKBa7iBXbl40nJy4Ul/mIvSSUCbxAX7 7HiKs7MgsYboyKImF/RvxcyzlzfT8Nx2Vh5IWzQ74S6BrWfY3uJnGj6tPdx2DhylwlGo txHg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=yunjingtech.com dkim=pass dkdomain=yunjingtech.com dmarc=pass fromdomain=yunjingtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=yunjingtech.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id q22-20020a056a00089600b006b4c1a2085fsi282836pfj.168.2023.10.30.19.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 19:17:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=yunjingtech.com dkim=pass dkdomain=yunjingtech.com dmarc=pass fromdomain=yunjingtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=yunjingtech.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E33138068217; Mon, 30 Oct 2023 19:17:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233204AbjJaCRM (ORCPT + 99 others); Mon, 30 Oct 2023 22:17:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232458AbjJaCRK (ORCPT ); Mon, 30 Oct 2023 22:17:10 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2120.outbound.protection.outlook.com [40.107.255.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEC95B3; Mon, 30 Oct 2023 19:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2k9HiCmba1SlVXwxdhhwgLUYV2vwjx9Pny9/jYHhnXl+hJnuDEBoWzyf+Ouj3vmqNcSJTp4NEHokDhskJWuYzy+QC2ETDIgR6ZY4Y5R8vRkcKvcWgq0/taZyaBzho6cGjlbE3Fv1fa57vTS4Bi8+Ry7EkgrvlcVV6TUzojWnrHPZi9S7ddnnJGuhhuBIOBpUOpbBi1AJI3D2bxtXOt64vyL3NZthZAib+uQnn0h9ZKytgZW+JX3LGiYhaL9BCbUCCm0ZbOL4+E+t5fkZtJ6mHHAq8RDJHSEonC3KAeAVYlZVj+ERM+KG7liln56rKz6q8/vDYIL9igW10tb8/1rfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GbH7xZM4pJvlBkLY/qBXLENR9CukSKl3Vxozja7yM7Y=; b=GzRY7aZhoOS2edvQAouTo8uaB0K9NZnDrDYB6BEWS5U2NFfW/e4sFOSUIuQh9vW8pxSI+2E9LIeVWvHEk3ZeZHVmirPIZRRYMhlFma4YEWCP0QADSs8nQVwkKjtIyRcGeXIU4nuEB0ADHvodMOQTZxNNH8CsR5b/UntB+sCilwEsvd0mkMfs1T8wOmP0O9BHSzGtP85Ktupb8DQWQf1bJDhcYSIqO/fcsCOInOjMN17ILWk8USlWSfnJ2U61if5RYyiVjzuxf+5abJziuCg1RStwr6r+fDueVzZMH3JmnbwMmZqzaaJQUoM5HDipt3Tauf88wBy6SgplwjcFZaZtAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=yunjingtech.com; dmarc=pass action=none header.from=yunjingtech.com; dkim=pass header.d=yunjingtech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=yunjingtech.com; Received: from SEYPR06MB6507.apcprd06.prod.outlook.com (2603:1096:101:177::9) by KL1PR0601MB3987.apcprd06.prod.outlook.com (2603:1096:820:2f::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Tue, 31 Oct 2023 02:17:00 +0000 Received: from SEYPR06MB6507.apcprd06.prod.outlook.com ([fe80::605a:d113:7ca9:8572]) by SEYPR06MB6507.apcprd06.prod.outlook.com ([fe80::605a:d113:7ca9:8572%4]) with mapi id 15.20.6933.027; Tue, 31 Oct 2023 02:17:00 +0000 Message-ID: <131c8e8d-94f8-e0e9-5a1a-336b1ef84509@yunjingtech.com> Date: Tue, 31 Oct 2023 10:16:57 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH V6 2/3] pinctrl: Add support pin control for UP board CPLD/FPGA Content-Language: en-US To: Linus Walleij 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 References: <20230915031123.14515-1-larry.lai@yunjingtech.com> <20230915031123.14515-3-larry.lai@yunjingtech.com> From: larry In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: TY2PR06CA0043.apcprd06.prod.outlook.com (2603:1096:404:2e::31) To SEYPR06MB6507.apcprd06.prod.outlook.com (2603:1096:101:177::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEYPR06MB6507:EE_|KL1PR0601MB3987:EE_ X-MS-Office365-Filtering-Correlation-Id: da3a3755-6211-4807-ff44-08dbd9b77731 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cYgnK4s6u2ktWFH3hJbhrYM+gjO3gS87Vl/TbGhQZd5zp1XsiaS3gE8wG4pyYM7raeNeAZIGfb+wkj7ACitsPq/551eVzuZhJuCPvrEdvUjH7Phnacn0TSHd993WUOVr4+DNhR5zDvhmzjQH+j6XWoa/8uTKH3BqpUr/cjF/7E2hGLSshoLnTXyfHAbtv5PuzRDk6xLLv238zAfRLYNRkpf0CT0U/Mn+neKEHJMYVdYRtKay93oTyGoH6J8trSEynQepszdKMVJ52k7LBL6zlTP7XLqCMfta05gXK3g/j1HEItaMG0BWWQeEejSlLh0tR6ltJNF11dsrCtRvRHM5pXNhkFTEg8Gk2cFq6POtm9UxmWC86AeCO+RhYUG1lr9KJyWgiexMfwe9PqNcQ77a8rMgX9Pbdiwcq7V6x+OMML7OJku+YTkDJsbpmfUS6m8wnaMnadS4yt+NfigTRlkZmw1/SXHF/KZfOEBqxMHJUTJYDRDURCFJ/VtEO08q3XqLonmCDoVlzSgGzSloy4ab97veF1gWmaWTunB03OpxFpSS1AS+ZEFmOwvm2/ieFT83e2lRTRyzfgiEiXquWaiQUYkE1/UKfIvw8P5QHeXQMjihgQxY4AkD1EjiAk/+qqyp8UkAzOPJd0AtYhdgV/NqRw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEYPR06MB6507.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(376002)(366004)(39830400003)(396003)(230922051799003)(64100799003)(1800799009)(451199024)(186009)(31686004)(6512007)(26005)(2616005)(38100700002)(31696002)(36756003)(86362001)(2906002)(83380400001)(6486002)(6506007)(478600001)(4326008)(107886003)(53546011)(6666004)(8936002)(8676002)(6916009)(316002)(5660300002)(41300700001)(66556008)(66476007)(66946007)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dHBtNXdGSmZwVjdoSy94bFlmM3VBVER3YkFjV1VEdUNZWU1sdzBtS3ljLzR0?= =?utf-8?B?VjBiQ0xWSHZUeGNDR0tXZENhaU5RVnR6VjQxaWlIQ2ovU3NjeG15b3pwdGpl?= =?utf-8?B?L3V1UTJaWm5mMGNKVG9HSDRWOVVrZUhYbkluR0xYSzhoUGRLbzJNOEpta3I0?= =?utf-8?B?cHBuUk9yQWZ4Q2hkWEx6TTI0djhEN0dPR1BFNHBadWpBVU1qcmR0ZzJvcVVN?= =?utf-8?B?TmM0ZGZHdC9zT09hR1BKR1BML0c2T1lTNDFUWXp1aDVtVGxGMUYvYWV2Tyt6?= =?utf-8?B?NkY4RzdLdzFwaHlwTjVmQ1prS2NFSUxySFIreWEva1NJVWxkQkpWd1NLeEtj?= =?utf-8?B?OVVhcTR1V1lhMm1qRGY2K1Nham1hcXBDQ3BOeGhnVW5mdEJwRy9hVk5kQkYr?= =?utf-8?B?eVVNVWsxUjFsa1ZzL3FCS0U5amRzYTRxWDVVTjh1UHdNSVpGQzQ1YnNGUzVp?= =?utf-8?B?dW5rQ2QrVER5a2ljb2lBcUdrNjdKTW45ckNZYk05V3JIOThCdFBQUzRwVDMz?= =?utf-8?B?YXRmb2xsQmY0S0ZzeUpualFIMm4wS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3BVSEtHaVZNTUNBOUJSWGRuOXBKNEM2WnFjSWF1VnRadWZaYXJI?= =?utf-8?B?SXhqSHJBUzNLQjdNbGpWVEk3Q055TUsvRjhnUXZzZW15L3V0b21YK01uZkFZ?= =?utf-8?B?Si8wcWRGQmFVdHB4NkEycWN4MFJ6ZGFmRndSdXFpTGdDTDZhQ0lkVG1RNC9J?= =?utf-8?B?Syt6TG52Y2xNOUcyODhwK0tBY21obzZrSlVZWWR4NU1RZUNTRUkrNTBPTUpQ?= =?utf-8?B?VmZLaFVVc3JOaWdwT05VcitodXBKV3IxekIyZ3VCS0k2aXB4eDZrSlp6cHlx?= =?utf-8?B?Y1l2RGhjSjdFeThMTDZZTWw4cmxtNjRlUDZzR2EzR0pJZlZHVGVHc2Z1dmxv?= =?utf-8?B?a0JGeEdFV0V0ZWRPaVpzOXN4NkYzUXdXQlB2ZG5obGFmR0hqRkpmZVMxRGYv?= =?utf-8?B?VHlTVjBpRyt0TlRmTTZaRHB0b0dORGtSTnZKcC9NdHRoaGdHZmxOVTV2dVNm?= =?utf-8?B?VmN3bEoyMDdTeHh3Y2tvR01UM2ladFlYano2alhRelBWRS85UHB3bEFUaDdG?= =?utf-8?B?UkhUN09TRGpwdzRVbm5xRSt5VDIxemFWeDdrQit1eWdmM1lZVE80YlFoeWFS?= =?utf-8?B?M0hIR2habjlrdGt0RHdnSm1HRmZwQzQ1b3AyZEd3U0tJMmJRV3A4eCtzV3dl?= =?utf-8?B?QVorZWk3dW9zMEkyUHBpVVZpZmhKNm1NV2NUUlAzQ1V6WlVpcjkwbmVMY0dS?= =?utf-8?B?aUE9PQ==?= X-OriginatorOrg: yunjingtech.com X-MS-Exchange-CrossTenant-Network-Message-Id: da3a3755-6211-4807-ff44-08dbd9b77731 X-MS-Exchange-CrossTenant-AuthSource: SEYPR06MB6507.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 02:17:00.6538 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: be2d5505-f7e6-4600-bbe2-b3201c91b344 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MGV+swqsDBA3YfPTMyq8YKencTcUTM14EYlrx4vPyL8Wn3C9ilzWepBe9REBopOpOPD3/h9iqv4oFW5+svaWn4ZI7fJCdbHYKrnlFsXlEOo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB3987 X-Spam-Status: No, score=-3.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 30 Oct 2023 19:17:21 -0700 (PDT) Hi Linus, Cause we replied the wrong email-format to you last time.(Lee informed us that format is hard to read), so we send the comment again, thanks. On 15/9/2023 17:02, Linus Walleij wrote: > On Fri, Sep 15, 2023 at 5:12 AM larry.lai wrote: > >> The UP Squared board implements certain >> features (pin control) through an on-board FPGA. >> >> Reported-by: kernel test robot >> Signed-off-by: Gary Wang >> Signed-off-by: larry.lai > > This v6 overall looks good to me! > Reviewed-by: Linus Walleij > > Can the patch be merged on its own? > >> +#include "core.h" >> +#include "intel/pinctrl-intel.h" > > Didn't notice this before. But if Andy is OK with it, I'm > OK with it, I guess there is a reason? Perhaps it warrants > a comment explaining why you do this? Need struct intel_pinctrl gpp information to control dedicated Raspberry Pi compatible GPIOs. These products (Up boards) are Intel approves foundation kits. > > Valid reasons: > - You are using Intel-specific HW features also found in this > FPGA > > Invalid reasons: > - Using nifty macros or helpers, then either make them generic > or (if they are small) duplicate them. > > If it was that thing I asked Andy to keep locally because I didn't > agree with its generic usefulness, maybe I should be told to > reconsider. > > Yours, > Linus Walleij