Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1516621rwb; Fri, 5 Aug 2022 03:28:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5eIsPvjjOTEs4rOoA0sqrzQfK3bQofHDL1C+mrcHXQM34Rr4MH5TSQVFUoZ9yiCLC4K3Hh X-Received: by 2002:aa7:c3d1:0:b0:43c:c713:fac8 with SMTP id l17-20020aa7c3d1000000b0043cc713fac8mr5950172edr.371.1659695303885; Fri, 05 Aug 2022 03:28:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659695303; cv=pass; d=google.com; s=arc-20160816; b=HL2cREpkWqibt3TBGnGL+fjye9h8BA7Ck6Eug2r3hds9npDl7mjHm3nU8aRoOzpZVj 4PIaQNTgf6YsrWROJIsui8kdRdHV21QJF/A/eSV8cCpT4OIPUSeqqONvAB3eMzX2gHzy 56L/Gjuedqh5GEjhmAa4CbZv3Wq5k4ZGVhGDF4JY90qmYE8dHNzcWt3kkc3/CvAXusA+ AmOyWXOKsm+sg5DUHB6uctqK3tULOFt99u9qtsVWmr6Xy4PKMQUxz1RNHgMtbd2ZdlL0 1Zex/Wt4uAWWChTXCKwO0YVULxp9l9/A5hk9xwF3OCwgwCEdpmHb19pwcRekhb7YJbv7 t9zg== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=PF8fPkdn8B19hyJaQ4M9J/P/qwqg7zbFw0U0tRtXTF4=; b=MpFA1NvwxlPRogzEvWpW4s/IHBI3Zg5nztqTYX4i5ddALdT0MDIZ5LjxiXpghOVldA aIpzAMWNJCoBWqgUW6qixDrkKa1ckvD4azXq+H6EZRn0/9rCrQfCWCcsQ+AUsJbH+6v5 xu7wzcagQ7fWwJsNXiLCxKEqrjyaw0bK1bvOzNgB5XxDdmoB3RuD9nAny9ye5fDZYlgH 7s1iAilt7rDwNJc+XCe6xLYNI28hbEyRReCuakztlYenIaIrx25YNaaYL+95ndQ/K6AR UHlNWGaQG/dBZwZkpD9DiNAF68objxkwiGOI2QeW5cYN7+0GYTcTpvVg+rrhmVYWH7tP knkg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=COvAjNBK; 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::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz38-20020a1709077da600b0072af35fca64si3615450ejc.484.2022.08.05.03.27.56; Fri, 05 Aug 2022 03:28:23 -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=@nxp.com header.s=selector2 header.b=COvAjNBK; 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::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237619AbiHEKSt (ORCPT + 99 others); Fri, 5 Aug 2022 06:18:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235203AbiHEKSr (ORCPT ); Fri, 5 Aug 2022 06:18:47 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2056.outbound.protection.outlook.com [40.107.20.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77C492614; Fri, 5 Aug 2022 03:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iT3YkV+UyBL8RISV3CjtvrotJUVl7lT4GNOnw4NYCYRaocMD/JHP8/EL8vpUW6/A5igQY3Ael3hZyhkR5hapqxbrK15Q9q5APXlxJ7QbF2FO8hH1hr/6ncGW3m7lLuOkZmmAnvcu6nAGppeG8mlqjDnL41bn/qwU+Xf5DTsPNMCCCSDxOMAHByt+JQ8IEHFmVwLZeoRr3DcEjXYzzYFLxFqI90XLLnED3iCj7zgWL2UuK3iq8E5+3AymturkgCKvIuSi2AbGkCUFOo8/24e81QGSzBU/ebqI8lBF+Kcc6Wsj34C0GPJT9ly0viXozvGXX60KxUiC385tnDsjAxreSQ== 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=PF8fPkdn8B19hyJaQ4M9J/P/qwqg7zbFw0U0tRtXTF4=; b=JdfQxi9p4ehjeLUiVNj81Y8Yf8UV1nKGYr1xddJ5L180eHJj2k3vW/leYnXhvs+rewdJphTbhriyKQpnL46dtnmMpAdEYeil+3gg4LvLRqSYKv75mpMdqbsmF7Ss0aXXfCIMpCnxXMVyMtdUQ711TqEEqvT6l3DSNkLlzkX3a6xpfBIRXVGtfH7WK0jtXWGDbdtVMqFj4WFoFJSFNgGAtMxUp8cOyA0JM9lDeULfDrWnlPztHD53l9qJq2i6NJ/jXww72tmIi/Cc9ehbKmwDPKV8M48BvsH5OK2zL3oQv+BTsXygK6Cf6Psc8O+pj45lwU+9uIXLBJk5Ro2wTU4g9Q== 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=PF8fPkdn8B19hyJaQ4M9J/P/qwqg7zbFw0U0tRtXTF4=; b=COvAjNBK5Q0ddiXiD+0xxMbySM0le4ceACVaySh17K3GM+QudAqq8IUcddMNkCAWOkQnEFkApb5xOd26F3FWymuTOfYXAdY7569XKr6R6fepYdXTsKMTNKCZzeRJS/Q9THohK51aZlFBDgHiquMCuaIzUQli82Ptn60LvQdYkYc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by DBBPR04MB7881.eurprd04.prod.outlook.com (2603:10a6:10:1ea::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Fri, 5 Aug 2022 10:18:43 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::2549:869e:d80b:3a1b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::2549:869e:d80b:3a1b%7]) with mapi id 15.20.5504.016; Fri, 5 Aug 2022 10:18:43 +0000 Message-ID: <2c6161058d1253c1eabec274ca8c1c98bdc6d490.camel@nxp.com> Subject: Re: [PATCH v3 3/3] dt-bindings: bus: Add Freescale i.MX8qxp pixel link MSI bus binding From: Liu Ying To: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, saravanak@google.com, gregkh@linuxfoundation.org, geert+renesas@glider.be, robh@kernel.org Date: Fri, 05 Aug 2022 18:18:34 +0800 In-Reply-To: <258c3ed7-2247-d4c3-73be-ddcddee3a3a0@linaro.org> References: <20220804061133.4110734-1-victor.liu@nxp.com> <20220804061133.4110734-4-victor.liu@nxp.com> <258c3ed7-2247-d4c3-73be-ddcddee3a3a0@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:195::23) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5df765d8-c3c3-4402-8b8c-08da76cbdfba X-MS-TrafficTypeDiagnostic: DBBPR04MB7881:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e5t0hUBb2Rl8VOy8U+i94/08DEXbyk25GoD8y3FZAWlEhQw0o2cTK4yGCTfQdU6MevAwwPMkKgLTc91/MAavRkpmXegZySRcNpjsFYTmIelTmqjW1NI4pcCjX7ah1Jy9J6HYbwxLoBYGLklMJtTF1vbt4g+V4WUePrV/QW5XnlKB5v1HJRd3uAG5oxavnqlkQlUZcTW4dsY41MCEMT+sME02LGUl0yCaeVfWnVHOEXBVQSsFMROuv2um5OFRDXyY5RlJv3GY7ZOes09AHRvvtk8008In6BYs9O+7bN7OxUBlkXk044IFGhKUMEH3KGXEYlncQOqLz3Ec4bBfRhKA9IpwNghDRo6xDchLKvhyYImCiap5tWxEnxNzjB5Bn30pppRaFQhx5g7uU66wumxXk3UGAEuXoDtnhLNOb/pC8xqajfh2+7gs3tK6OZBPUlK5RB3XvYB6jD6EYgrNP3FrjhWdQQWLlKIg6l8+aLftXU/tfqN2aYnm6bfhM0kf8wso8hLQcatFqM0HpeF1F2wi4ZhKTOSm2i4c7AiBiSUIhkeTZEWwVMcB2kdFEkaDqbFU1x+NX6u5iTOO8/OEnHTVQrcIOjVPGF5fHqOp14bzupEm7+2RfX0VfLeahHyz5biLfHMK4XXr9RW8WxsD0u8qkkHFJaKZ5wnpxt8o0Kg61L63kvAeems8++e5zUZYjPw6ka+lhNfrTisQiPUJEKyMiwhvTGSY+AqU7fq89pZrlDjtXNHES5PlcsbpO3Y6SUM/MOFaH4q1ckaP3sQLI1C1ll0BwaRgf1txoBqfre4Fy9UZJL5qU/uSQp2sIrIUWdyJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(53546011)(6506007)(38350700002)(52116002)(38100700002)(83380400001)(2906002)(6666004)(41300700001)(186003)(2616005)(6512007)(26005)(316002)(478600001)(66476007)(66556008)(36756003)(66946007)(8676002)(86362001)(6486002)(5660300002)(7416002)(8936002)(4326008)(99106002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q1FaVkx2S1ZGWC9MV2RjMHR4ekhWekZXSjNxUUFhWXVNcnM1YmhCZERpa3o1?= =?utf-8?B?VUd3RThXZFo0V0s5aFJzdWhUUVVqcnduL1NEUEp5Q0JKYkE2TlZWdExXV3A2?= =?utf-8?B?d0lNSHRJRHl4UFFhcTU0NitqMjA5UXQ4aGZ6aVl5T0x1ZDN2Vmh5TEZ1V2FH?= =?utf-8?B?aUUzNEJ1U3R1WW51V1FzTWIwTFNyVnFacWV0SmIzS0hkNW9DL1dyK3JZclRx?= =?utf-8?B?T2c5N3FVVFczRHhGVnlucTRxSmhtZ2xzUG9WU1oyRjhxSHlHblkyTTE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YmUxYXpYMU90TGFvV2NVTUFlRnQrbHhmeG9oYjlO?= =?utf-8?Q?YdiyJwJEQ7NSlHWpCxQsDCFEy?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5df765d8-c3c3-4402-8b8c-08da76cbdfba X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2022 10:18:43.2360 (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: zhi/CWljJdEP8A6+YWQ9EKPcDR/Phx21kVku4olFCQTWuqCPByu6OV9BiltXpjr7NpY98HRFgNL5P0fbUBW4cw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7881 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, 2022-08-04 at 13:17 +0200, Krzysztof Kozlowski wrote: > On 04/08/2022 08:11, Liu Ying wrote: > > Freescale i.MX8qxp pixel link MSI bus is a simple memory-mapped > > bus. > > It is used to access peripherals in i.MX8qm/qxp imaging, LVDS, MIPI > > DSI and HDMI TX subsystems, like I2C controller, PWM controller, > > MIPI DSI controller and Control and Status Registers (CSR) module. > > > > Reference simple-pm-bus bindings and add Freescale i.MX8qxp pixel > > link MSI bus specific bindings. > > > > Signed-off-by: Liu Ying > > Thank you for your patch. There is something to discuss/improve. Thanks for the review. > > > + > > +examples: > > + - | > > + #include > > + #include > > + bus@56200000 { > > + compatible = "fsl,imx8qxp-display-pixel-link-msi-bus", > > "simple-pm-bus"; > > + reg = <0x56200000 0x20000>; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + interrupt-parent = <&dc0_irqsteer>; > > + interrupts = <320>; > > + ranges; > > + clocks = <&dc0_disp_ctrl_link_mst0_lpcg IMX_LPCG_CLK_4>, > > + <&dc0_disp_ctrl_link_mst0_lpcg IMX_LPCG_CLK_4>; > > + clock-names = "msi", "ahb"; > > + power-domains = <&pd IMX_SC_R_DC_0>; > > The example should be complete, so you should have here children. > Otherwise it is not a bus. I may add some children whose compatible strings are in-tree for i.MX8qxp. It seems that simple-pm-bus driver part(patch 1) will be changed due to comments, so maybe I'll respin when it's ready. Regards, Liu Ying > > Best regards, > Krzysztof