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 A48FEC7EE22 for ; Wed, 10 May 2023 08:55:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236839AbjEJIzJ (ORCPT ); Wed, 10 May 2023 04:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236932AbjEJIy6 (ORCPT ); Wed, 10 May 2023 04:54:58 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2042.outbound.protection.outlook.com [40.107.117.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81FB82118 for ; Wed, 10 May 2023 01:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=COEa9hb6gcybQeoZdUX1pHlBSNfaftPkt+7EM6iHIshpo8lWJ8z6yrZPf+hX4dq3F6tyBZb+FMEIZucFoMrI9pImPfQFJGgIiNCRy4PkiB3BUsk3fXFRppaQXghsB5+0OvJ+iePan2Zi3YpVpWbrn5CdsP9i4VEUxKkmOQZjkQWYA8gv4/a8sKYCbYk9pZ0xfBsxbH33LzTEZnF1AbebR19MhQ9iilWM5g0P6fnXA//MRaZfSS45+Tvy12mQ+Ia/jyXmJgILwgjNg7G9mWpTC39RgubyYFiseP131Yj/tXwtbzdBQqaY3YOQwVDzNDNvv7o/x6OQOZvmQgBbofYmRg== 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=F7GHK0wSYbJI6HCTAmIYUd8HzuAZ/DYUj7Zl0e+o22I=; b=h0s+6z8JqQxR/ClmOZdUVsVojZPYf+KjqMQhl+qxRf0kzapXbndn6OW+1rIYe39PubpKTPo7QmRUaZfy/IutBDiMSdCiNxHxCzdf6ar9zZAM9ed5VjIyKnFNTEmE0hcIdWPg/uZduUCiZ6c+yFpR4wL0kxh7+RPPIV5FtZNtDLr/4q39EYUFFmi+Z0LKc07MffRuMa3XJNIWivbSGqKFZZo2FGlqMb5wNP2ySnsUr32qhEMVzFNuyUy/sgRmQ7H2YSRgKuN8+vBKWe4DUeICmipUAwl5Tztd9nUPRunUb03yP48wD7e8BnMqyfkjTuWtRiJv1eJckLoyyG274rMNsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nuvoton.com; dmarc=pass action=none header.from=nuvoton.com; dkim=pass header.d=nuvoton.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuvoton.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F7GHK0wSYbJI6HCTAmIYUd8HzuAZ/DYUj7Zl0e+o22I=; b=XSoOG5ZDAOhDFJLg/6j/UkYw/IMZcscgA/pg80gyn5tUtNaRY+/WBGFol8we2RN5SnXsm7FoTloCw0jsvWRDopmDZRACNK8s7cyHQSNJSFjN1n6WNxs8T5ludikg2cUrMeCjeglfOZR/NW+elSyUuKDFSo4vx7Ch9WFd9gNOeDM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nuvoton.com; Received: from SG2PR03MB6732.apcprd03.prod.outlook.com (2603:1096:4:1db::11) by TYSPR03MB7989.apcprd03.prod.outlook.com (2603:1096:400:47f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Wed, 10 May 2023 08:54:47 +0000 Received: from SG2PR03MB6732.apcprd03.prod.outlook.com ([fe80::3dcc:2a50:b1d4:b953]) by SG2PR03MB6732.apcprd03.prod.outlook.com ([fe80::3dcc:2a50:b1d4:b953%4]) with mapi id 15.20.6363.031; Wed, 10 May 2023 08:54:46 +0000 Message-ID: Date: Wed, 10 May 2023 16:54:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH] ASoC: dt-bindings: nau8825: Convert to dtschema Content-Language: en-US To: Krzysztof Kozlowski , broonie@kernel.org Cc: lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, YHCHuang@nuvoton.com, KCHSU0@nuvoton.com, WTLI@nuvoton.com, SJLIN0@nuvoton.com, ctlin0.linux@gmail.com References: <20230510034409.585800-1-CTLIN0@nuvoton.com> <39afb004-5f28-2633-a8be-412cb5e74404@linaro.org> <36061fee-5491-e829-2c49-27ab81f0aa57@nuvoton.com> From: AS50 CTLin0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: TYCP286CA0215.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c5::6) To SG2PR03MB6732.apcprd03.prod.outlook.com (2603:1096:4:1db::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR03MB6732:EE_|TYSPR03MB7989:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c5a8e79-1a32-4c06-6837-08db51343463 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +waT7s0O1hQ+nWh6uhvabnsZksZ2fSZe875lztNtlNDhR7ip6K9Q2ZNVRSXCjktHhpNl7bDEsPSnQa+S41eM5CcYi62wizo8rZn5cM/aHL1SriMSF/shxWOvXkJt9x8hpLGVrcfxJgGd5HkZNlDYKFiVmy6Qh3AnkyfVzA//9t6JwW1oB+P5mp2D2rm+1uiNOQKuurfdsr1toGHVAmQhh0wUQj5fTNw0waVgTiO3r4R4CAS2NeYGJGzRB5BCLEmZK6fICwDZtrBtzm8I+8d5JjFcFDn9x4QTNfgYqUhdclKuLTkwM/LWNL7jVkuGmrJFWUS+OTXuBr+2DbmH1ctnK54TyUF9TPlkW3QCTnoRCY5LYLEglHZa0EobxKiuAtRgrl4hhug+lRFKvXQyVj4heIHJGFXHiZoLY+RocsbnDEnCJd9XUjxmrbfa0grW7ovCY01hTMxdlOIYmQE0+sbF1/AQhyjDsIPdwXWHpkW0nSO1tRcUorsjjutmQ5RHRG/3HSwlRaQ6GsqAMEWrCO5NmZFySH30ZCR/s1k6hBkEju71HlambaHizkSgR+SpVc82f8yXKdLyGUO+cZTfYx8KGdkSxzzCoOl0priCmFz+4aDcxC8UKf3/O3t+VgRwF37I1y3CcClrlo//IYZNX6JVcA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR03MB6732.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(39860400002)(346002)(366004)(376002)(136003)(451199021)(38100700002)(31686004)(316002)(53546011)(83380400001)(6506007)(6512007)(41300700001)(26005)(5660300002)(31696002)(4326008)(66556008)(66946007)(8936002)(66476007)(8676002)(86362001)(186003)(478600001)(36756003)(2616005)(2906002)(6666004)(6486002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ejJQejlTdFpjZ0tMSXFBdFNmcW1uMWNuelBtb0hmdlpRYmo1eUVGN3MrT0Iy?= =?utf-8?B?aVBLQXMzWHlTNXFnVjdJdXZTazBCL2dNOEdNOFpzS3NESlViL0FQUks0TWdR?= =?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U2hQQTNaQ3RZa2oxUkxLRXQ5Q3BoOUd6?= =?utf-8?B?cGpOZTY0eVRRTHA4VlA0NGh3V0F5bllPU1NUT0dKVUg0WjVzb0FXRDRSeCt3?= =?utf-8?B?cWNCbkp3TVdlZGl3V2FGcU9lRWpjR3Zuai9HZEV1T2JpQWs1TmtHZUZoTmI2?= =?utf-8?B?b2h6dWE1cno0Z1JKU3ZmcjMvWUJjYWcxY2hrTE5pWGFXa1d1THJ1Y0QrcllE?= =?utf-8?Q?fZs+ruPftjEL5GI+x8kyUlLGW?= X-OriginatorOrg: nuvoton.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c5a8e79-1a32-4c06-6837-08db51343463 X-MS-Exchange-CrossTenant-AuthSource: SG2PR03MB6732.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2023 08:54:46.4558 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a3f24931-d403-4b4a-94f1-7d83ac638e07 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z4ZT9uFFn5A8ZxARWQ6NppxsKDWwmERcPSsvTY/tffJ9P8vYMCI/00g263sjXuZ4SRQQsSx/kdL/80iShUgOZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR03MB7989 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 5/10/2023 3:48 PM, Krzysztof Kozlowski wrote: > On 10/05/2023 09:42, AS50 CTLin0 wrote: >> On 5/10/2023 3:19 PM, Krzysztof Kozlowski wrote: >>> On 10/05/2023 05:44, David Lin wrote: >>>> Convert the NAU8825 audio CODEC bindings to DT schema. >>>> >>>> Signed-off-by: David Lin >>>> --- >>> Version your patches and provide changelog after ---. >>> >>> If you just send the same with the same mistakes, that's a NAK. >> I know your meanings is to show change log from v1 to v2, but I see >> previous patch have other missing items. > I don't understand it. It does not matter what else is missing in > previous patch. You always must version them and always provide changelog= . Noted. > >> Therefore, I revise it and included your comments. Anyway, I can back to >> previous patch and re-send v2 patch with changelog. > Paste it here (and in v3 of course). Changes: V1 -> V2: - add interrupts properties - add maximum to nuvoton,jack-insert-debounce and nuvoton,jack-eject-debounce properites - add a enum item for nuvoton,short-key-debounce properites - add default value for most properites - add maxItems to clocks properites and mclk entries to clock-names properites - refine wrong indentation from clocks and clock-names - refine dts example for interrupts and clocks - remove headset label from dts example > >>>> .../devicetree/bindings/sound/nau8825.txt | 111 -------- >>>> .../bindings/sound/nuvoton,nau8825.yaml | 242 +++++++++++++++= +++ >>>> 2 files changed, 242 insertions(+), 111 deletions(-) >>>> delete mode 100644 Documentation/devicetree/bindings/sound/nau8825.= txt >>>> create mode 100644 Documentation/devicetree/bindings/sound/nuvoton,= nau8825.yaml >>>> >>>> +required: >>>> + - compatible >>>> + - reg >>>> + >>>> +unevaluatedProperties: false >>>> + >>>> +examples: >>>> + - | >>>> + #include >>>> + #include >>>> + i2c { >>>> + #address-cells =3D <1>; >>>> + #size-cells =3D <0>; >>>> + nau8825@1a { >>> This is a friendly reminder during the review process. >>> >>> It seems my previous comments were not fully addressed. Maybe my >>> feedback got lost between the quotes, maybe you just forgot to apply it= . >>> Please go back to the previous discussion and either implement all >>> requested changes or keep discussing them. >>> >>> Thank you. >>> >>> Best regards, >>> Krzysztof >> About node item, maybe I misunderstand your meanings. >> >> When I change from headset: nau8825@1a to audio-codec: nau8825@1a, it >> will have compiler error. > That's label, not nodename. Why would even this create a compile error? if the label is change name from headset to audio-codec, it will caused compiler errors with the following error "FATAL ERROR: Unable to parse input tree". So far, I don't know why label name will caused compiler error, but it might be caused parse error by '-'. > >> So I use nau8825@1a to submit.However, when I see your latest comment, I >> seems to understand your point for node name. >> >> The final result will be codec@1a or audio-codec@1a, right? > Yes. > > Best regards, > Krzysztof Thanks for your guide. I will send the v3 with the changelog. ________________________________ ________________________________ The privileged confidential information contained in this email is intende= d for use only by the addressees as indicated by the original sender of thi= s email. If you are not the addressee indicated in this email or are not re= sponsible for delivery of the email to such a person, please kindly reply t= o the sender indicating this fact and delete all copies of it from your com= puter and network server immediately. Your cooperation is highly appreciate= d. It is advised that any unauthorized use of confidential information of N= uvoton is strictly prohibited; and any information in this email irrelevant= to the official business of Nuvoton shall be deemed as neither given nor e= ndorsed by Nuvoton.