Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4003780rdb; Thu, 14 Sep 2023 09:00:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFiywkVYcQ/foQjZYT6aF9PnjGb2206s9fX9v2VYxqaQdvxsgvyZNUGCaOSkYjCB8jVo13u X-Received: by 2002:a05:6a00:b52:b0:68e:265d:c2b5 with SMTP id p18-20020a056a000b5200b0068e265dc2b5mr6563420pfo.29.1694707225642; Thu, 14 Sep 2023 09:00:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694707225; cv=pass; d=google.com; s=arc-20160816; b=EMoxDd3If1jJhYhbCkpbpws7qG+5IsMsCJ6bshbS3IfCU+Pcj2+GR7hhfPvm9KzVFh OdJEzzxapBTJvLCN/P+FtmkfA9VovIQeXgohvLMkqt8x6eVjZTka9W5eom6C+8SRDz5y a18kN5OyShEJHdopRrWNrgK1qUDqpeGvD1WNJzNq69wGNAyy8UDGiQyFL1o6EsGGW3az n55JNscWgvoGgZkbDu674rd1O4sg1DJ0ShBXTofQl0HeDyC/twXU9DHRX6amcWf5eYd9 Z3F2tk6AiCvxJBJAGBrGUDtADvciGnzyq3DUhPnN3ak63CXLc3IFomRaCLe/KkreGTw1 WGRA== 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=XWfFvILeu1l3+OvStnvOaR/sfZGwF6KXqSHdM018NYE=; fh=RNCoLXmEOEfb+SN8xsgsgGPBDlr4Vwvp2q86H012ZPY=; b=mkekBDYOPC16+O0gjGgl2fNtczTwb/HX8ojrDCM7kxBmppRagD2p0yMsbcg41vCs7F gjvOopGUisPkPB28eSvGFdcDqoFaCvXXXecf4cZSihtzCy5xqW6yP0gS88nLsriHMKny Y9olEg95pN9WJsCKd9G2nR6Q5n1bllfqgKl/F9QokJg8R098GR0GJIj8ApC/FxC5cnMl 5owp2DBqUMduQUOcNvwZ/YrJ/ZBbE2iTbKVXjw6StztELg7BosXfdpKu1mwhLgxP6UjP xCvVSYvKTrH4zHh0PuD+4xQqPKbtPMeQtIT9Zc7mUocS3kZ/yXaqpJh33gEmBWggxArP LBFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=Z3WoKJ33; 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 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id ch11-20020a056a00288b00b00690208f6d56si1801420pfb.340.2023.09.14.09.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 09:00:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=Z3WoKJ33; 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 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 50E528038F8A; Thu, 14 Sep 2023 00:02:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235723AbjINHCc (ORCPT + 99 others); Thu, 14 Sep 2023 03:02:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235836AbjINHCT (ORCPT ); Thu, 14 Sep 2023 03:02:19 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2093.outbound.protection.outlook.com [40.107.117.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B29611BEA; Thu, 14 Sep 2023 00:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j0CeFKcOQkJwYvGYN1fw2GMxHUL5dHsORL2X876QjOrfN2mtXRUsRLEmUDvaucl69POhL0ZGIBfxlSDzGPj8WAvyxXrUz8QWmlYaz+Nhdni5PPhirT1GuOJtzaCDoO46QcR2wuWJchBsO9zQ3vdRfOfw7fGe6/mAuymmYAsZ0m2UZzGMuv7xYrXDbi/0O/YD15tUutPAySatb+6P1jbJwsNQaXk/flFcuaCGPSTYgrTxFRfj8ndlwHjajgII5Ukn0epYgp+IPYVmgTVfbC4EtGLnYVFFU9ino6UxY9Fy/ESTngTmNJ6fX940NXgMm0zEMb5ogRk5JqA27WvyhggJBw== 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=XWfFvILeu1l3+OvStnvOaR/sfZGwF6KXqSHdM018NYE=; b=GHwVj12eguTqHLD4qZhp/QFn0Yqv/u7z82neQdGPFrzYUhz1R8/TwDB2eBV36PA7bSxx5EpAunoGMdkxtzhskjIM1SD2/yQQHXgMpeuWL+HxGKluFXrtgjHj2LfZaBIJB115gOKSZ1n2kDeQypSRMPMmhksP/2a1Pp9E5n46LOBYvjyWqlFq7YrBrP1Xaeb+IOT0p+VWzTCEAoIDd52ZA/1jVIcz3p2i2JQ+14BLmw/fYw4J1a3kPfOvvEu+ql2W0qgUG6FARtkEq20Ie0kHBhE5fOm9+1nECzB8DTdoU5GsBhc+Z07aywcpo8Pxq0TfqrasOXybdzVElwP2ezalOQ== 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=XWfFvILeu1l3+OvStnvOaR/sfZGwF6KXqSHdM018NYE=; b=Z3WoKJ331EXE+JOq1CymX9u9/udOT/kVrVyz/WGQOD8maLUglYajY9U7D7fShsggJPkNvUHmCqJYgCOe0TFxnhYm3fdPfnLguuJP4r1if9KroCeCORz9oo3bLY4upVS+QcWDBbm4T4FDlHXoGDDT2po3hbskTzwhrD7RhxshCVHo09OeWnyvqiw+GXLHv5Mm2FrvtY2ABGWGZ+wpAXSz4yClGMdflmOcGTkP33kK/LN5EPua9N1T/2XUXNy/Q48udhYWUzKK7RZoXZdhXwledH71wT1qhTYLnrkbwoeCJTZK8SD3gDHrL/wyXk/N89BkznBofgMYdU1OpDb+vnDQWw== 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 TYZPR03MB5295.apcprd03.prod.outlook.com (2603:1096:400:34::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Thu, 14 Sep 2023 07:01:31 +0000 Received: from KL1PR03MB7221.apcprd03.prod.outlook.com ([fe80::3f14:c67:12ac:af39]) by KL1PR03MB7221.apcprd03.prod.outlook.com ([fe80::3f14:c67:12ac:af39%3]) with mapi id 15.20.6768.029; Thu, 14 Sep 2023 07:01:19 +0000 Message-ID: Date: Thu, 14 Sep 2023 15:00:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 1/3] dt-bindings: pinctrl: Add compatibles for Amlogic T7 SoCs Content-Language: en-US To: Krzysztof Kozlowski , 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 Cc: 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: <20230914054525.1180595-1-huqiang.qin@amlogic.com> <20230914054525.1180595-2-huqiang.qin@amlogic.com> <45637012-0972-fc7b-1276-163da363b962@linaro.org> From: Huqiang Qin In-Reply-To: <45637012-0972-fc7b-1276-163da363b962@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: TYWPR01CA0051.jpnprd01.prod.outlook.com (2603:1096:400:17f::7) To KL1PR03MB7221.apcprd03.prod.outlook.com (2603:1096:820:cb::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: KL1PR03MB7221:EE_|TYZPR03MB5295:EE_ X-MS-Office365-Filtering-Correlation-Id: 58bf06da-03ca-4de7-339e-08dbb4f0649c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0QNiWsaCNzYNA+7iYXVGyYp9ZIRUKyku/bdFYvexkHHmaM70nfWFVnScYH6mTE5PGgF7mx7wcHN1nsWVuXURFEmc8O59Ul6VH8r3QdGD1keOVMPGHWJv1LZpCEvMdQlnQcSW0/NlLrwXyM4xwsT79MNvb8Ay+pm1qt4Qf6sJoiPNj8dJ6ed2SIdflVC6YTsiQwvK6adNveEVWScSuLsKUw2mGDJO0ywcSSMDY8k17+/lDu0UzPmN+GTWAWfGWHp7vxAxCOKs6fPy8YTZSCyuirY2qs63Ez9c/S4IOA82sH63EddJbqXXbu7Op6TL07PSq7z8opc0c0sNmtak1+rw49tpxRTJXXHzrewMDJQvfrKV7ydPd2jrZrQRXlzf15nDiXwmDovFzytj77/6YkkvQPybDNQtfjzUXhn2BiooO2M3i/8D1fn85ldgzpSZ5lyiVbbpqwvJnzoiGZOqzK67AbqJ9TR1qF9/m6toUPvrv3chI2GqIjuY1HUWtcZh+cj6K2pQdnfiQ1dLm2k3+kri1Ntquy4KnFDq1YUa3Ls1XMr6+6YPFvTI5DOjB+IZ1unljWz7ef2YVTlzFUfGfnzw3Ca7Hbva44XfH6hl79ulDQqE5p2FQ8/vAzUlEwa0GwldSsxXSjlCF3i3kqjJaBcp+TkF2JJwaW/vW3iH+qqI7y8eYnGjJitQP2u4DOw4046AKwD/5Fbm2cQN8AggwyvTEug5WQq0erXZZcPjYpM6GsYLU64890zpSewL7e7EogVc 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:(13230031)(6029001)(346002)(136003)(396003)(39850400004)(376002)(366004)(1800799009)(451199024)(186009)(31686004)(921005)(38350700002)(478600001)(38100700002)(2616005)(6506007)(7416002)(26005)(6512007)(6486002)(6666004)(53546011)(52116002)(86362001)(2906002)(31696002)(4744005)(8676002)(4326008)(5660300002)(316002)(66946007)(66556008)(66476007)(8936002)(36756003)(41300700001)(44832011)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 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tVTAvMUMzeGcvN3FmWEtkWXk3RWlzQytmdm45RHc5ZjEzQ2hLVGxa?= =?utf-8?B?aEQ3NEFKRnJwdTVMMlM3L3NrZTdVV0tDTzViYy92M0ovUUU2ZUVpRGhIdC9K?= =?utf-8?B?aW1UWXlucEMxVk85NWp5bG5MZk5TS2EyTVlDTHRlampxdWxta0ZiVWRpSEp1?= =?utf-8?B?aUZiSUVlWWwzWmtBcFNrbm5xTFN2b3duU3FKWXBUVFkwMGZaR25FWHdrbHVn?= =?utf-8?B?bHIyaTkzV09Ca2Y3ZUlyY0pNL25iRzd6d1R3Vk1jYitVTy9TQnlJUS81bVd0?= =?utf-8?B?WVExcVR4RUFheXcxbmJwQm1ZMHhQekdEcENwd1lSQ211TFd2UlF2MjJQSHBv?= =?utf-8?B?L0k5YlNOV2wvUytxUUZSUG9ValZWb05uNEJQdTFYN2QwRTVYR3A5a3l6Y0t5?= =?utf-8?B?Ymc9PQ==?= X-OriginatorOrg: amlogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58bf06da-03ca-4de7-339e-08dbb4f0649c X-MS-Exchange-CrossTenant-AuthSource: KL1PR03MB7221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 07:01:18.9562 (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: aLBY1AC9Pbr5xpVVLixxNJX6efRwzGfKRKrkfy8T06BOJ9FX3vCWxtLIEl167y+aoO/DbBrFb6rJXVy0IeJedw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR03MB5295 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 (lipwig.vger.email [0.0.0.0]); Thu, 14 Sep 2023 00:02:34 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Hi Krzysztof, On 2023/9/14 14:16, Krzysztof Kozlowski wrote: ... >> diff --git a/include/dt-bindings/gpio/amlogic-t7-gpio.h b/include/dt-bindings/gpio/amlogic-t7-gpio.h >> new file mode 100644 >> index 000000000000..2bab9a99501a >> --- /dev/null >> +++ b/include/dt-bindings/gpio/amlogic-t7-gpio.h > > Use compatible syntax. The amlogic-t7-gpio.h is not a file in the dt-bindings/pinctrl/ directory. Does it also need to be named according to the compatible name of pinctrl? > >> @@ -0,0 +1,179 @@ >> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >> +/* >> + * Copyright (c) 2023 Amlogic, Inc. All rights reserved. >> + * Author: Huqiang Qin >> + */ >> + >> +#ifndef _DT_BINDINGS_AMLOGIC_T7_GPIO_H >> +#define _DT_BINDINGS_AMLOGIC_T7_GPIO_H >> + >> +#define GPIOB_0 0 > > Why weird indentation? Okay, I didn't observe it, thanks for pointing it out. ... Best regards, Huqiang Qin