Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp565288rdb; Fri, 6 Oct 2023 11:24:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3Cy3z7yqIlw0EgWtZ/uuNRR/UR2nYbaJzAF51xnL+db9xKHUcLRMqHC4E3Fw8W2qXOivy X-Received: by 2002:a17:902:b18e:b0:1c7:495c:87df with SMTP id s14-20020a170902b18e00b001c7495c87dfmr7506097plr.53.1696616669948; Fri, 06 Oct 2023 11:24:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696616669; cv=pass; d=google.com; s=arc-20160816; b=IPSVA2px8L5iyDO4aqHXMfjAAcLsSK3CrN54u6pSqvMKTXg2DQGEbUPo8eeeWQurlG 6Xg0miUdxOckikf03/gvlzzhqLI9chlHSjIkFfcutMeAdTvvUqTAhzWYwXl9pB2wlpS9 n9yUc5V/s6Anal1ZElnUyQ76p7G3Egc15fyg0FEvcPBoQ4WC/s8mc08yK+GzUrFliepL jxtIlh3nWQPCzrqHHMu6WkzCiYCb/J5o7lCzNMO5tG/SpLy61AcnSV7NOF84l/JNrQ3s T78YXpaRpQV3sGGMVopuD+d65QhsuyjfWPVDZBWihvfsNPxccQjSQGeFZjzMkXud9HSN 0i9w== 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=0k1FDFL0IIbqh0oPdF7xZEKzNU3VqaS5Es7s01Wbl6E=; fh=UsqdA1PYWCX32AvU/J5HsparF1Kuc8WANKJQafpMQgE=; b=h1dxAdwYpR3IQut4Mfrr+nL8tZEm2qj3xTLyeJ7AuaFfpU/7F1bF8zLXCNIsMxR0V7 memUifXU3I6R0mwzbY8ga/RtHVh9Zmfp6jK1KVRFMUZKA38Q93F9h4w2zsmVQTbsOK22 2/M8E1HxIf4FQ0nqlAJ7YKFvvLVVsj50RatpPZ2Asc75LpUyIWWonOoliaNB7DFTaMIO QnlNm3u9u7iyTnj6YJM9GeAsY0cvXo8P54cBbEGXEYp8zo9C5ULBBlbKYq8jwu1ug/Lo LLXW5Fmb+WmF9tBx7sjAIbksOdzj308H/oopIH1dRa/LkLeYYs6lNwDvIUKrLrEhIwox 1SRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=y9WvyswB; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id v1-20020a170902b7c100b001c747cafce9si4122098plz.231.2023.10.06.11.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 11:24:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=y9WvyswB; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9B81A818450B; Fri, 6 Oct 2023 11:24:27 -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 S233226AbjJFSYP (ORCPT + 99 others); Fri, 6 Oct 2023 14:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233158AbjJFSYN (ORCPT ); Fri, 6 Oct 2023 14:24:13 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2047.outbound.protection.outlook.com [40.107.92.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2098C2; Fri, 6 Oct 2023 11:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jWakINuh19Sakc3u5JfFpIQCzJ8/ainMCeQqZcEiXmqwAAtiq3RcEdjhiHcsOagMV1Ms+iel6mLYJjY+atkcyO9+ns+B3AzZy/1+XaDb0zaw1SlbhbRuFM4WNod1G053oMwCzOaMWQYuz3EIi97oc7yWCiNpEZddGcDksnk46I6uQcs4qL4x5TpYIchSdEEet/5NFVbK+U54R/P44Oobp8XHqM84e5NoI4NQOf6krqEtqQJadRC+4QV0oSoWo53ybP5jgd15gEGdo58dM8ythW0/jO7kClnbqASqvUpyS9/NRaz2+2OFdiQxP/3sLNUJPU9eqY0tHV0QcpZF2jzSuA== 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=0k1FDFL0IIbqh0oPdF7xZEKzNU3VqaS5Es7s01Wbl6E=; b=X9B6CAk1HJmt6FNAPiRYzazrM+TnNxVjkFxYlEHxPFOjeevmxBJtEHurNpTTPF8OjlE+tLewjliHdRbeTKq7JTjOeMscUoWjFiVdY6edmIRvCDPrggOKAWg+EoZm1WcXqWX5cLQ+tcqsogiY6j0ELdcb7FQsigPJBPrkFaJlnvQ1IGMKTVoSC2CC2IprIKszCNzDoPxcu+H7kZhxeY0yaOydaymT7L7aeDCLGSG/AavfD8nIm4GLasa7mutHK/guLhBwNcJaVayECQy//9Du5Ztg68M/tj0KJd8og9r2WipZMPxe3F86hWOxzfKhc/VQlN7gIi2FPVtU00cuvMbJtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0k1FDFL0IIbqh0oPdF7xZEKzNU3VqaS5Es7s01Wbl6E=; b=y9WvyswBEox7jL4cG1nj2X//ad8RQfOZf/wnWb/kmVrNaJV//ao3aNZ7eKv7Bj0sJARNAkZu92/jFbYMs3wwcqmdltrSKdYlGI+oOuj12ibTFy2yXgvr8ZSOnU/6K1Lq3isc/xmhf5hxvnFgvE9zsQiPjmwM7xjiaWfPUubtgVM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BY5PR12MB3683.namprd12.prod.outlook.com (2603:10b6:a03:1a5::16) by MW4PR12MB8612.namprd12.prod.outlook.com (2603:10b6:303:1ec::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.42; Fri, 6 Oct 2023 18:24:09 +0000 Received: from BY5PR12MB3683.namprd12.prod.outlook.com ([fe80::8304:46bd:5017:3dcb]) by BY5PR12MB3683.namprd12.prod.outlook.com ([fe80::8304:46bd:5017:3dcb%7]) with mapi id 15.20.6838.033; Fri, 6 Oct 2023 18:24:09 +0000 Message-ID: Date: Fri, 6 Oct 2023 13:24:06 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: zynqmp: add destination mailbox compatible Content-Language: en-US To: Rob Herring Cc: jassisinghbrar@gmail.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, michal.simek@amd.com, shubhrajyoti.datta@amd.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231005170825.3521669-1-tanmay.shah@amd.com> <20231006175348.GA4076821-robh@kernel.org> From: Tanmay Shah In-Reply-To: <20231006175348.GA4076821-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0201.namprd03.prod.outlook.com (2603:10b6:a03:2ef::26) To BY5PR12MB3683.namprd12.prod.outlook.com (2603:10b6:a03:1a5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB3683:EE_|MW4PR12MB8612:EE_ X-MS-Office365-Filtering-Correlation-Id: 27f8dc21-dafc-409d-6938-08dbc6996e54 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +5uBzHmlJCiSfd0g0wVqCC7pogMIbU1DB7BYiP81YND6sFeDooR4nDsjm+hhG8bVKCtXNKaF/sqy3erDvGC3b5+L6kwnY1BftXYpmjbpPnpUB/xeiyNdQ5Vm0ep6lfqwW01Tm1ht8eIQz/HK+9XCRkPs73RF12hLjjOxTNxyg1qkOALeKRYqCMaSttbCKar4mT3fPggRkJsB61obtNHo9FCXEj1SOkaj6PivyzizE4bJhAoJKx3A4X70l+86qB1s/TOHau4+IvEvuxK83B07zcLWX8LKLfyWFEmliOYw0JITdpTmMGfIckgdo/IzMxHeFeOF/E8ht25i4shCz5B8XMXY/7sgcHfkr0mlQP8NA4UJFwncNZUnftvYaf0BKzI7cLS8yR2uIlcKIy2N3R0CvDuzCUe24hR5wRnDVROK3wCuutSe8iPifyBVaQi2TlmqO7pFQmHyzZUfyEcrvGpaoJt8NXMINsN4BobQZ5yqKCNvb+v7LFrrAFPjFL8OGpqDmrYpo2/XzI6r0blbxp78T1o+F7NhkacK9vJOgiRLW+UCtI9rLHiv+4h+LSP94ZdlYWw4Yo4RlrrTx5KW1o4HgZs0OH5X77hE3gtm4HYMMXJS34Bl3Hq07ERGdUwpBnKXQDm56+AMqLAcxBMdSxIWdg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB3683.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(396003)(366004)(39860400002)(136003)(230922051799003)(186009)(64100799003)(1800799009)(451199024)(478600001)(6486002)(6506007)(6512007)(6666004)(53546011)(15650500001)(2616005)(26005)(83380400001)(2906002)(6916009)(5660300002)(4326008)(44832011)(8676002)(316002)(66946007)(36756003)(66476007)(66556008)(8936002)(41300700001)(38100700002)(31696002)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M2tPUHZDcU9ycnBCUnF2WkpmeW5GYW9haHBwUVdOWG9LYm92alV5UTBVUFN0?= =?utf-8?B?WGlCWlRjNU1BNjYvMUtGM1c2WFNycWdHcU1FbURMaFpwdnBwZlhrY1BKZ01O?= =?utf-8?B?QWtOcUNmenU2S01Mc0FpSTRWbXgzRDBnSXh1OWduZUdRNnRlamZqcjJrek95?= =?utf-8?B?a0wyeW92cEJKZFd0aVJYTStVQ3psWTNJbHp0ZTVpZXplK0tsWkp4bDhxUXJ2?= =?utf-8?B?ZGIvZm14amg3RGp1R2R4TFpub0Z1MWorNFZTU0t4NTFwcWZFcCtPc0dLV1Ay?= =?utf-8?B?QklFYktOaE1PZ0k4Z01xM3NhMnFrb2hwZTlWRGY4MUpFRHFRdmE0bFM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MBwME1s49ojlA?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27f8dc21-dafc-409d-6938-08dbc6996e54 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB3683.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2023 18:24:09.1125 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UcocV7HnSnEKHC337tNzaY/PZF4YZwO16WoCIwLoQswxKbrDx/L0+dBSH2fq+YY2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB8612 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 06 Oct 2023 11:24:27 -0700 (PDT) X-Spam-Level: ** On 10/6/23 12:53 PM, Rob Herring wrote: > On Thu, Oct 05, 2023 at 10:08:24AM -0700, Tanmay Shah wrote: > > Current dt-bindings does not contain compatible property > > for child mailbox node. Child mailbox nodes are used > > to represent destination (remote) IPI agents. The compatible > > property for all destination mailboxes must be required. > > > > Signed-off-by: Tanmay Shah > > --- > > .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml > > index aeaddbf574b0..8b15a0532120 100644 > > --- a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml > > +++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml > > @@ -74,6 +74,10 @@ patternProperties: > > type: object # DT nodes are json objects > > additionalProperties: false > > properties: > > + > > + compatible: > > + const: xlnx,zynqmp-ipi-dest-mailbox > > + > > xlnx,ipi-id: > > description: > > Remote Xilinx IPI agent ID of which the mailbox is connected to. > > @@ -95,6 +99,7 @@ patternProperties: > > - const: remote_response_region > > > > required: > > + - compatible > > A new required property is an ABI break, but nothing about that in the > commit msg. Hi Rob, Thanks for reviews. This does not break backward compatibility yet as relative zynqmp mailbox driver isn't expecting compatible property. But, any new functionality should consider using it. I will explain this in commit message in next revision. Other than that, I hope it's correct to add such compatible property to identify the node. Thanks, Tanmay > > > - reg > > - reg-names > > - "#mbox-cells" > > @@ -124,6 +129,7 @@ examples: > > ranges; > > > > mailbox: mailbox@ff9905c0 { > > + compatible = "xlnx,zynqmp-ipi-dest-mailbox"; > > reg = <0x0 0xff9905c0 0x0 0x20>, > > <0x0 0xff9905e0 0x0 0x20>, > > <0x0 0xff990e80 0x0 0x20>, > > > > base-commit: 7d730f1bf6f39ece2d9f3ae682f12e5b593d534d > > -- > > 2.25.1 > >