Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1100440rdb; Wed, 6 Dec 2023 08:34:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXmJ/Slgvvvg5tvjk39BKrwn7/FkHxLU3RsplabhsKWNbeMmq8kU9HnYHvBZQDJuzmvAKK X-Received: by 2002:a05:6a21:99aa:b0:18b:f4c6:4334 with SMTP id ve42-20020a056a2199aa00b0018bf4c64334mr1296465pzb.6.1701880467714; Wed, 06 Dec 2023 08:34:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701880467; cv=pass; d=google.com; s=arc-20160816; b=leIe5BHdOOeVvVScw7JGyQytc26MvD6yAlpzTINPj7f8sypPveQBsSlhfbgKMoX4x8 D1jkSqCHovBPOdcLcZyyD6olrMfz0w1qFzsnzVBCL5PhaiK/IIwO4OotBrwwzlXULnUn ZHEeBt5KoMqB7nMLkBbhgSR4MhfBoVJAPRxZpGVzVLEH/El3E1QQ4byxjC9FpS1gIPyL txiwcheFWYtJ0tZhxX2wvuGxr2M3XRNoubMXVwM3kV7b4S5VRgzRBL+174iJtdE7v0Zm WLg31E0epDiI0ZjIghDI2ibKiP37qG6YnF8wA/6QIMVXSvZVYTSfL/snSoIiKHAdOAfY B38w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ICjt0nl2heXJxLrfQ/1nxwHWQpfrieMigj9JAiXbeG4=; fh=kgKXCLZix58k9GM9F0P2X0stx2z0544AziOrGlBUoHw=; b=w11YgduoJwWH+SqXbO/ZtK17oMiyvVq1qMdQbKcDS3Z7i58r+IbdsX0vAP5FdkMpt3 AgXb2OUHI6lWCyZu/WezEBN4CPL2HGPOQ9pK5hgzUMHPVtTuFhouPcF0VFKJiu3TCSmB eUAImh8p1RhMlsiChZF6ONNWWv3lsJ/0G+nm7BICBdJ3b6zXvChg7pVP49mZCwDar52U S5W8nwT4O4JgWkaVfoXfOg8IshUQtnoJAASYLtAwj+XU4dJyrkBKsy1BtuMtOtaHxpnr eY524uBMGgorxUebGq8ohL5Fn+dQLkLijg3v1gAReh/0Uv2FJBshLJEKAeGbCGEITnC+ uM9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=s2Rv5NLv; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id z20-20020a656654000000b005c67e10f238si137213pgv.492.2023.12.06.08.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 08:34:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=s2Rv5NLv; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A8CED826FA9A; Wed, 6 Dec 2023 08:34:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379324AbjLFQd4 (ORCPT + 99 others); Wed, 6 Dec 2023 11:33:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378350AbjLFQdv (ORCPT ); Wed, 6 Dec 2023 11:33:51 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2088.outbound.protection.outlook.com [40.107.20.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72503D62; Wed, 6 Dec 2023 08:33:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CWdO5lc+BpYfblok938ad8GSDSDTL0hJhDtJgZPiWr6t6S51mBcvP2QLjRnNueALg2Y/fu5cR4I45DFoT07ooItb4xbIwijylr4Y64OvI6tOMugUSshWKoFWZ8ZPY86kNPscHrjRop+gEYRutiSvkRiSEQTUluj4enLmHPpi/HjTZlLz0KdKWDI9nZHciWy+1cfvSZmT7jPcb8wRlTNHUsClb6aW9qyI1xHJmAVVBMtK02e2xFF1Wq+6ypcfGsSYvZCcQO3woVAADxlmLcdDfzaq2Z6pdkcDot4YmYMU4fpPVAZZ/D3G1aMyv2S5PIKyBhvR4xV6L9g8xxFUb32aXQ== 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=ICjt0nl2heXJxLrfQ/1nxwHWQpfrieMigj9JAiXbeG4=; b=RINKjFk82SJ1SNo5L70pYEl+SLHlx/5DFMJe+5iLibN9DYL0ZtejCiNU+5Chw01sZsx8cvApwY+GUuMCCp1CEiJRbttln+8kpWtKv4sGga4y+PsZwluwbtDNwD9bN0cpN+ujkTU4c4kG+DVK6qvWzmqvAP9w1qVmLAS/xK49V3cq/sNUz/yllhTeSpjUdSrGptTE+Yvj3XwJ3i5b2kU1i9gXWlWSCjXOTw9ciCpMVPayZEzTiklR+aGWR0QM4h622nmm/B7jAnYX3nG02Wz1tj2+Lu6qDhWbNC2uvckVopYWDeVi4WDzUUCxVu3IjoMdSYCF7z2afF7NG2KWNrEL5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ICjt0nl2heXJxLrfQ/1nxwHWQpfrieMigj9JAiXbeG4=; b=s2Rv5NLvBWRw6iSoo9m2mJ/39hCgF1BF9uuJR3yAI8B0pISPVv4vxbtfZbUhjEaIeDS5PjOo7TxTd6ZPT3M7x9vqbRMRloxj7maqkae1vKTiAqw3EPiVSI/ZJ46pZUpjIxIA6B0mlfZNb4mY2OSEJMHq3EdPZIT4j6Ag2184uto= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by GVXPR04MB10023.eurprd04.prod.outlook.com (2603:10a6:150:118::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.24; Wed, 6 Dec 2023 16:33:54 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%6]) with mapi id 15.20.7068.022; Wed, 6 Dec 2023 16:33:54 +0000 Date: Wed, 6 Dec 2023 11:33:44 -0500 From: Frank Li To: Shawn Guo , robh+dt@kernel.org Cc: Conor Dooley , alexander.stein@ew.tq-group.com, alexandre.belloni@bootlin.com, conor+dt@kernel.org, conor.culhane@silvaco.com, conor@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, haibo.chen@nxp.com, imx@lists.linux.dev, joe@perches.com, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i3c@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, peng.fan@nxp.com, ping.bai@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de, sherry.sun@nxp.com, xiaoning.wang@nxp.com Subject: Re: [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Message-ID: References: <20231017194657.3199749-1-Frank.Li@nxp.com> <20231017194657.3199749-2-Frank.Li@nxp.com> <20231127022140.GJ87953@dragon> <20231127-cherisher-falsify-8193656e8872@wendy> <20231206093106.GE270430@dragon> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206093106.GE270430@dragon> X-ClientProxiedBy: PH8PR05CA0001.namprd05.prod.outlook.com (2603:10b6:510:2cc::22) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|GVXPR04MB10023:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f5596d8-5adb-4fda-d326-08dbf67922cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: toQsftUOk4pN2O3UHttwynxbav59r4wnlUUjvMtAqgqIlf/NT6tEVrG+Ew8HsfiI0zr6S8shZxk4P5FvnRBUBDVuvMhspm0M287g+USCmOAh3F/BUTHstnQ9RE6HQ94QMt2zAL2m/bgBxxOqnMwFGCPXzHypelxr5v9nAgqszrzHLZwTzbGb+26LG78rEVVC02JzrSzbQkUxrsjOC+wZXT/OOVKpA6RFuhXXg3lCe4ac95q0jSQUhsR8iS9ikFnUwDJ8PiIUOas/2C2CUIyA7cRStvzuO+E2gGqlUqXcJa3dc/e0B3nqk52b3wBcBYx5n8Yf3g2arq+Z4Fvk22iSitPVxKdtAVvKhMJv4EXisg441Ms5gxgF8MOUu+FYlWswokT11Gs/R1N6lmI7Y/b/VZ9/CkeEEAnhTaiweq0+Hey1m4HucrH1owARDbXzAqs2fk/H448k5bQsM7z/XIwlqj+gnshndueE8JbHs3xsgcAHIHv1O5SMbxkZ7ezCqZm0en0IurH+QsKi21/XTR/WH4j4itQGyN1nUzAUwv5N9Zby6JgC6NUfd3D/I6aaC2rkCiKBcG2rWeQHomav31hkBg8N5rizIXbg6bBl50B7kF5GmyitWsIALGYOWCf3zQbb X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(39860400002)(136003)(346002)(396003)(366004)(376002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(38100700002)(7416002)(2906002)(5660300002)(86362001)(41300700001)(33716001)(6486002)(966005)(26005)(6666004)(6506007)(6512007)(478600001)(9686003)(8936002)(8676002)(4326008)(66946007)(66556008)(66476007)(83380400001)(316002)(38350700005)(52116002)(138113003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nYfrRwhGJhza8d0TJDgtD4JhzVhxh2u17xfw/t2TQhSW/Xz5FO0bKZXN0aPm?= =?us-ascii?Q?SzT6v30mqMpEAypBarsdKy418z8e/6D6lq2xwCH7wijEJQNHCtuiNeX/Ufv9?= =?us-ascii?Q?hAm0vsPYbicvM2lJ688uJ0pbIR8jv6gH++Vovtgpi67KIO1hbLpp+EB3qzxp?= =?us-ascii?Q?Iyp+3CZU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aT?= =?us-ascii?Q?ZcvZKqExncEPjraY8Akwnc+DSodeGQSMNnA6PuEHGf6Gic+B7d7RgBT8FDc3?= =?us-ascii?Q?7zEA9U+Gw5m6S10mASmO+tunQxmLN9YjAK3OYK47CQYDxUNTkA9PYiMY2BEY?= =?us-ascii?Q?+zN769evjGKDm3yuP18lMofk+edm5S9pBcVLJcKyXhWlOFgq2EcoNwvn9nlV?= =?us-ascii?Q?fIPm6iemmh3EX4ZQgBFjJrSnuZbrLpLmbgVTwK3sNi10ToRKB1Lg/lgQCO6U?= =?us-ascii?Q?LALYmabyvNlebf/2c3NHEstlVdM/LajV06kVzjISCx+UI6XkxBgpH1syr/9O?= =?us-ascii?Q?JTKKCxrtN0V3YChSxRFHN9ZVZUAEmfol7kILnBDW0duK1ll1aYOzGCZZ8m+g?= =?us-ascii?Q?E1JLvkix1VN929L3L6xYkqVcluT6klu0YuU8EA12CsPwlv0EMX61CE3CuIFD?= =?us-ascii?Q?z9bT3pwh4D8Qva778x2ThaRF6f22MTO1Yj1TpwYnoShsNvqg02P2jvhIoKwI?= =?us-ascii?Q?o82qjICrad17xXKyKbA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f5596d8-5adb-4fda-d326-08dbf67922cd X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2023 16:33:54.0640 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vKx1VWak+oTjAO+G4HPGDuFiUFvASbLTouLO3r+P1uebV+awBBZ+vRuKZZ7mGp2woa5ZPYL4wZmMgaFWDQmU/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10023 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 08:34:19 -0800 (PST) On Wed, Dec 06, 2023 at 05:31:06PM +0800, Shawn Guo wrote: > On Wed, Dec 06, 2023 at 12:46:15AM -0500, Frank Li wrote: > > On Mon, Nov 27, 2023 at 09:35:39AM +0000, Conor Dooley wrote: > > > On Mon, Nov 27, 2023 at 10:21:40AM +0800, Shawn Guo wrote: > > > > On Thu, Nov 09, 2023 at 10:51:13AM -0500, Frank Li wrote: > > > > > On Tue, Oct 17, 2023 at 03:46:57PM -0400, Frank Li wrote: > > > > > > Add I3C1 and I3C2. > > > > > > > > > > > > Signed-off-by: Frank Li > > > > > > --- > > > > > > > > > > @Guo Shawn: > > > > > > > > > > Driver part already merged. > > > > > > > > > > Please pick up dts part > > > > > > > > Rob had a comment [1] about SoC specific compatible. That's not what we > > > > want? > > > > > > > > Shawn > > > > > > > > [1] https://lkml.iu.edu/hypermail/linux/kernel/2310.2/03035.html > > > > > > Yeah, Rob's request here looks valid to me. Should just be a bindings > > > change Frank & fall back to the "silvaco,i3c-master-v1" compatible. > > > > > > Cheers, > > > Conor. > > > > @shawn: > > rob agree on "silvaco,i3c-master-v1" compatible. > > Hmm, not sure I have seen that. Here is what I saw from Rob: > > " > The real problem here is not whether we have "v1" or not, but you need > an SoC specific compatible. Unless there's a public spec where we can > know exactly how many resets, clocks, interrupts, etc. > " @Rob: Previous existed binding doc is "silvaco,i3c-master-v1". So far this IP in our difference SOC have the same resets and clocks, and only one interrrupts. current existed i3c controller compatible string is snps,dw-i3c-master-1.00a cdns,i3c-master mipi-i3c-hci mipi-i3c-hci is standard. "snps", "cdns" are similar as prefix "silivaco". I think the same IP vendor and same IP version should have same resets, clocks, and interrupts. So far still not met exception yet. Frank > > Shawn