Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36222087rwd; Mon, 10 Jul 2023 20:33:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlFJ06qEzp2p9Qyx2TJV0rpCUq/7cobdyYNOXYOLurJ6Nz7Lsr+mNdK+W+0WcIv6Wf7BTC0a X-Received: by 2002:a17:906:73ce:b0:993:d90e:3102 with SMTP id n14-20020a17090673ce00b00993d90e3102mr11537722ejl.6.1689046394153; Mon, 10 Jul 2023 20:33:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689046394; cv=pass; d=google.com; s=arc-20160816; b=oq8jbZn6AfrBEgo/Ls2x5/ASlreGXARDKJKdibPq+f/07zE3hsH0pK0R1c+m+4gt55 8UGZJnyJM0t+zFRoR7iMFFlwY2BWQj+f54x2yXSg2jbRoGQdheu3p5cQX5CK40xmiFFk DsUY02Mh6Up2DKzx5ksGbRxEpWqySYvaI3sAzVPJ5P1ipNy4WKzXyQbah9zvki0HNTYE rAtixc7si4Jv9zErZGun/0gG821qx2By6zy19f9ZdEsTOVQQSqzfmgl54xnDebas+U3d b26SMHel5CvAjWPltROcITQgvZlXddbRHqfP9Y9MIfySkVUbSrFxhPIfd6lsgd08egfU q0jA== 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:dkim-signature; bh=Q8sLj2z/zdbCrc0uFXcWWJ1/gJjErwNBL6EidAWxGHA=; fh=D601fYm2qTY0ZzN5lm2muKdO5IDwNKnMjdKgaE+OOPA=; b=CLdTVIEEKUrU2z1VVtA+DS5ku/zctFaoByjcKsO7t8b3AbUkL+j8JOqbAjL3UIRnUH 6KaBfql0Ml/hbmibOwPdj+myB1vVVM3XiO2g8Np5KuKGm210b1AdZTFA2r3DKCjNzD6c G8+fGi3vsu2qXa4VnKxPZhL8IgYh2JRunZODUMvAzPv45wDdhsgZM8SSxCDuZyHmxYgR tj0itd1S4puTiQzeVIv48gNrmxTxmJOiz0SH7O2eeOpeWKARkVNBNhyDcc1VTPE2yPL2 X1XVchqyUbz/Qyjj38IJSAKOLu9MRs5kpehJou1q6YIDGTT+foXqv2rUl/dbtLWHyJCR Tqag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=DPfPGWfL; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a1709063e5300b0098d2f715b89si1086140eji.102.2023.07.10.20.32.49; Mon, 10 Jul 2023 20:33:14 -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; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=DPfPGWfL; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbjGKC4i (ORCPT + 99 others); Mon, 10 Jul 2023 22:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjGKC4g (ORCPT ); Mon, 10 Jul 2023 22:56:36 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2097.outbound.protection.outlook.com [40.107.215.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED8F71AC; Mon, 10 Jul 2023 19:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ijkT/dDxaBp/RLCFi/H5ujpFwpanIAMgq0hFmExAh9dILhq2kbO8HPJOwWFnIAl5bl6Y2bK1UomrbqEjspWuTidSYL6AaY59eqFZKW0ZX0/j/xNLIhvp1qCnMHMbsGjJRwvgBY0fpNFtK863+5D+6RExgIofq0ej5RFGEt4Z4E7a40XfZDjUgs4BDR4ZbHDtB90tlJh1MOsXWGOmFFaBmk5Qjy/bqedPx+NJKwFodASAOesLT96u8DMOW0Ae0CEz/W2C4g/2EV4qruVdx7anAir8Ybua5NBuXLjl0cBTDX0tjET8+1lCSVCWrASrHG1fgfSV05MEim+2h9VZtX+eZQ== 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=Q8sLj2z/zdbCrc0uFXcWWJ1/gJjErwNBL6EidAWxGHA=; b=Y2W8vIqOfYOxhrDuS2Ivf06Lwa+nscRvwO4zzuq1cxWlUs4xf8rPznyG36kZnGS1sgR3iqXjhn9P2FNVbJXuvAZuO0OaBhFmXn7WOZOkgTWpFlAPv32DJRDevoSXZ8MKuzvi9rFtwmyFR6Lw3yL+g82RWEAoK8y5fJA/RsL1jUUhH6qaSZkF/CQCgZanv6ke/s2UOBUaUNImdY+OJywxvucB2rS81eQT+FCOIJWW1Zrjkt0C4M+eLQ8sLqe0tQMJxNYLXe7n9SvsmuLifa2nko5kvxs+pXi7z+WJqMB4l77Ep58zcZOhVE0KNAUd40TdliUpHYeE1Yp2K6IhR3HB6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amlogic.com; dmarc=pass action=none header.from=amlogic.com; dkim=pass header.d=amlogic.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amlogic.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q8sLj2z/zdbCrc0uFXcWWJ1/gJjErwNBL6EidAWxGHA=; b=DPfPGWfL4JxrFzIIm6t/vjDTmEVBpCu5vEpTPsg+Ca7mSPSTTg4Ta6n1YKDGmQcwGNeuwKxsy+Cm79SG8+EzjBoEQYHWu4rRIEitWGm0dn5lE+vTYkLmFIWEMWuGdWlpguWPP2fLIkbC+Q9+gwitVxN58TUAcrht+LHEbPN92GD6AGguvL9+4hRCoopOBdf1h8xP0nxHaGneHSpWLdK7Trvf4nNNrmTGXxAE0o0CGIi5LH63L4PtIF+LXMfydybRYaAdD9InZH8sLDZnjxSD8XrE17uVTpiYpemmdoSUExJkM1r10WsKwB5+2ttykuogbPyKWfZvo1XLh6R8hWY9yw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amlogic.com; Received: from KL1PR03MB7221.apcprd03.prod.outlook.com (2603:1096:820:cb::11) by SI2PR03MB5706.apcprd03.prod.outlook.com (2603:1096:4:15f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Tue, 11 Jul 2023 02:55:47 +0000 Received: from KL1PR03MB7221.apcprd03.prod.outlook.com ([fe80::66e9:429b:7b34:639a]) by KL1PR03MB7221.apcprd03.prod.outlook.com ([fe80::66e9:429b:7b34:639a%5]) with mapi id 15.20.6565.028; Tue, 11 Jul 2023 02:55:47 +0000 Message-ID: <424cb61a-9102-9a43-c999-36939e8d6cc0@amlogic.com> Date: Tue, 11 Jul 2023 10:55:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH V2 1/2] dt-bindings: gpio: Add a header file for Amlogic C3 SoCs Content-Language: en-US To: Conor Dooley Cc: linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, brgl@bgdev.pl, andy@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230710042812.2007928-1-huqiang.qin@amlogic.com> <20230710042812.2007928-2-huqiang.qin@amlogic.com> <20230710-maybe-mantis-e647d94fd13a@spud> From: Huqiang Qin In-Reply-To: <20230710-maybe-mantis-e647d94fd13a@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: TYAPR01CA0035.jpnprd01.prod.outlook.com (2603:1096:404:28::23) To KL1PR03MB7221.apcprd03.prod.outlook.com (2603:1096:820:cb::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: KL1PR03MB7221:EE_|SI2PR03MB5706:EE_ X-MS-Office365-Filtering-Correlation-Id: 167b8fe6-ad5e-4d6b-0223-08db81ba5397 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pysdV6BfESXCoiqSsCgCbWrZa8xQruQ1QLcbS+tdaUSTWiKiW/uVIGnmQZVSPMUR4rBCktclGtWgKybaIoKPO8ex+J0EH9GKFErImpf0DqoD40jhneM9jld9nKrHtILrbej0NMq4pOURLTqcUCYO9txlKJxxjEVWG2wZBxuY5IVAdRvLHnpHfWMNwR2hsMPKzszDiltxci7ocjvoQ3vMryC0LMsSWw5l7ofdVfZfW+fQ+qPLEbJvF9ZV4N/Qzb/FZUmzYbTF8mv3QDpa4nR0Qg6LQhrGkwM1MMoEAV9x43tYZrak4cxs/N00+rlrbYlNAsipdtNvIpjPovoPlcd7vYc0sz8cpG20Yf8WH80FEz7Y89wMjMh3vd62W3Va1xzJatvSH3XkIPPueRKcdk5bMiwan3aVADo7Y5wceU68aakttX4hzHRwabaGK0YR6cGp/8fYxLjfKyyYBjuBq5fIU3ziwoqas2FCafjJO19tM5pR8qNohZkJbBeYLbHjrCDuDTkaNxODl/RYZe9IxznlMAlCprhbWyGkRNMaTP3yQaZcuEof9f8bYcsS5QQKb7QXNjzN/4OPbcgesvZqxbFju4qwWReNfyoFNCmL7+Xsr0j3RgRmgw9ddwFql3iPMnX+cPnqDJ8IPgxLaYARorrvtrTXvMgKazWkZogUqv5EAjFNZmgfbkyeN/kO+Vp9B+MexQK4WqymxdPUlzoXR7ZTVri7QvMzgdGYfODEV74wiMwNEwfBMOHTwCSXalHN7jxK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:KL1PR03MB7221.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(6029001)(4636009)(39850400004)(376002)(366004)(136003)(346002)(396003)(451199021)(186003)(26005)(6506007)(2616005)(6512007)(53546011)(478600001)(83380400001)(41300700001)(4326008)(6916009)(66556008)(316002)(2906002)(7416002)(5660300002)(8676002)(66476007)(66946007)(44832011)(8936002)(52116002)(6486002)(6666004)(36756003)(31696002)(38100700002)(86362001)(38350700002)(31686004)(87944012)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QWErU2toQ1hhVExpenBQWjNERGcvTnozOU1tZFhEcktodGgvbGllaG0wMFpP?= =?utf-8?B?amJYQTU5U1dHTWVoRVloMnNURUZraVc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QUdLdjFmWGdsVXBBOExIaUozdURCRGhGOENJMFlnN1RWWS92alFqRWZCcE81?= =?utf-8?B?WTFkcWlZU24rWE5ZNGYrSG9RMWIraVo2MFg0MzZNZzEzUXZJRVVwamhTU21t?= =?utf-8?B?bFVDQlFPL1c4NnYycHcvcFE4VXB4YU8wSDJHMmwwUGNvV3lDUmJZblcxanFp?= =?utf-8?B?MUxzQVJyeCtMbFNKelowRzhiYytCQzlnOUd5ejZaZ2FYZHRzeEx4SFZBRkFT?= =?utf-8?B?U2pXQlhVTzNVZCtsa2R1THlQU1VuZzJKUWZpSzdDSGtQRFpLQTIvZVh1c1Nm?= =?utf-8?B?MWc9PQ==?= X-OriginatorOrg: amlogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: 167b8fe6-ad5e-4d6b-0223-08db81ba5397 X-MS-Exchange-CrossTenant-AuthSource: KL1PR03MB7221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2023 02:55:47.2538 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0df2add9-25ca-4b3a-acb4-c99ddf0b1114 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vHbYKuioOURQdwAEdbzcaURCcWGCtLW8//fnM5MUoUJphe9B1uL6NLCQf/de3Sw551hUo1s0rc0iUvW8B/m/GQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR03MB5706 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Conor, On 2023/7/11 0:38, Conor Dooley wrote: >> diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml >> index 99080c9eaac3..e019b6aa6ca3 100644 >> --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml >> +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml >> @@ -17,6 +17,7 @@ properties: >> enum: >> - amlogic,meson-a1-periphs-pinctrl >> - amlogic,meson-s4-periphs-pinctrl >> + - amlogic,c3-periphs-pinctrl > Alphanumerical order here perhaps? Okay > >> +++ b/include/dt-bindings/gpio/amlogic-c3-gpio.h >> @@ -0,0 +1,72 @@ >> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ > Any reason to deviate from the usual license terms for bindings, which is > "GPL-2.0-only OR BSD-2-Clause"? I initially used the license commonly used by Amlogic (reference: meson-s4-gpio.h): ``` /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ ``` But when I checked the patch, some warnings appeared: ``` WARNING: DT binding headers should be licensed (GPL-2.0-only OR .*) #37: FILE: include/dt-bindings/gpio/amlogic-c3-gpio.h:1: +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ ``` So I followed the prompts and changed the license. Can I ignore this warning and use the (GPL-2.0+ OR MIT) license? --- Best Regards, Huqiang Qin