Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1508804pxb; Thu, 14 Apr 2022 07:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye5rBpqSA4Lgo12mEvdBYATqLiMg4Ha3xHzwQaYIURpNLLjaj1NERi5Zop60mLSnREeufk X-Received: by 2002:a17:907:90d0:b0:6e8:9a64:4f2d with SMTP id gk16-20020a17090790d000b006e89a644f2dmr2595432ejb.444.1649947273014; Thu, 14 Apr 2022 07:41:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649947273; cv=pass; d=google.com; s=arc-20160816; b=atK4Wxr7CabAbPNKb8UqP30yTDtfC4tLS26EgXRtYK1uLjb6dKkjFp4ZiBB8vc8+z2 Nr+RAc131l2veaYcQDXsz8ZRuEOQoDPRHtCtXH/xI/5lMx8k2cVI2mPMSLyp2RTM2pcc q5o+qKaoQ8lPK8RA8G0IMxLG7DQ4uWPZ83ymUHmEuoPCDLCSh9peYaeAn/c4VPW3ptAv SjAR8xs7w4OG+ihhlCRFWtXYUzN/+YlIpRXtVm2WR/PABR/nrTD+SmqOpkdlYOt5QUxD xPj2rtGi9biTAuRatHZ4Hj9oOwy8+6xXXkRep+0QEv9EkWo/VENy+1mdB+A3vkxufbph Zqsw== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=TIluowPKVxSvQ40HDxi45aCB+3/b1FTZlXwMfZqrxGg=; b=xsVqGt+QSYCozeg+CfNO90Xn/8RH7zzmH5CDXHRenVYrAtgu7QAX5Z0PWV1wdahJxu ET0DFzRmUWuu1qnNzu8sbfSGZVzUqc+OcYuiBrLZLED78ZEk8nfFU5fWmDiScb3OzOBw ZrObJeY+0frmunF0qnFBzTrJrUoVw8dG69Fu/uqfPb1i51SXKhawFURdNCBUUA1QPwmB dM0RNCqtn8gIdSReV3fxfNveTmIldiYAcy8yJeqXW9rOQSUwAPEjES+Vqo/Smh5ttF5U JqHU0RBoeKtjuLsEhqHK4dUtIOq6jGuE6DAAkt7rzAHxJPsb+2KVuS8YzJsmvWB/Gyov emJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lCpsB7Ok; 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 b23-20020a170906709700b006e8746614ccsi2029652ejk.717.2022.04.14.07.40.36; Thu, 14 Apr 2022 07:41:12 -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=lCpsB7Ok; 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 S237358AbiDMTOj (ORCPT + 99 others); Wed, 13 Apr 2022 15:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239126AbiDMTOE (ORCPT ); Wed, 13 Apr 2022 15:14:04 -0400 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50041.outbound.protection.outlook.com [40.107.5.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 867A84888D for ; Wed, 13 Apr 2022 12:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBqyUUjNyhgZjRb/2sM+cWJkWVTYBa7Q3YwfLJAMCOtUT1LL2nfBlum3hQBl7ccphaw1VwuJxRHj47V1K98N6OPKEAmcenJuP5HuwITbKxY/IrXbgnJkA/6evAJTgWze3hxhEX1tPHhOhtY5iFguVet8HvV6hv7zU2wT7d+NXUOzyFo9lmPNeARuILrL8G39k5a4CKv2oWYIbQEVGt/WVJwKt335Ep8bAXVdcZ4SvMynj6mVPXfWUCDqDNUYeEz7BAAmv9s8F/NfmepZFTkX2rwoPaW0l3veFdLJHAo0w65wrarUHMqIibu/Bc/4FbjKzuIaxABjzZnxXioQR7Iuzw== 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=TIluowPKVxSvQ40HDxi45aCB+3/b1FTZlXwMfZqrxGg=; b=QZ57nW/HgoDTz6JqiOC9ZfyCv4DkZu0bQDWLrY2bBOPAr0vvWinEwyNzwf/HbQbPek1wZE0LOa/AMBBNAXLOnEU4kZ6kdXEBo0Mw4+udB48UNYvjIQZciUO78PXSej82h7WToDQYW03eFKz4uguDLTJWx8fDeKkNLz5gAZ8wkMEXGEWH/4NTN86hBsdchxUMtrvzu9LDN0ZJ7ObkDV1+v3GTLW0rLBTU2nG9J0IzkClQ1A8etNCziDqGUzGWUwhyDwWaDFKt0QS4A8RW9gwaHH+Oqpjju6FLut+bJ/SoTW0dzqvfngN1L0tACtFIQbTZUTP96ahoVEu40lkaZzohug== 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=TIluowPKVxSvQ40HDxi45aCB+3/b1FTZlXwMfZqrxGg=; b=lCpsB7Ok4h6gtRgEZnSOch/gPmB1rFg4csZfwREfA6IN3gYE70XgeYBWIB198yGyng8IOMAuEKrwUAu0epuqnHs9D1MBDd31IDIwpMWxOLLETRTb8v81hByxTPNTHdEkziWASsVK7w/gpPaKOHdo3EEIJ8u88aaz55xFco5VLrg= Received: from DU2PR04MB8949.eurprd04.prod.outlook.com (2603:10a6:10:2e0::13) by AS4PR04MB9550.eurprd04.prod.outlook.com (2603:10a6:20b:4f9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Wed, 13 Apr 2022 19:10:33 +0000 Received: from DU2PR04MB8949.eurprd04.prod.outlook.com ([fe80::a074:1c67:a763:25b8]) by DU2PR04MB8949.eurprd04.prod.outlook.com ([fe80::a074:1c67:a763:25b8%9]) with mapi id 15.20.5144.030; Wed, 13 Apr 2022 19:10:33 +0000 From: Leo Li To: Vladimir Oltean CC: Shawn Guo , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Biwen Li Subject: RE: [PATCH v3 3/8] arm64: dts: ls1028a: add flextimer based pwm nodes Thread-Topic: [PATCH v3 3/8] arm64: dts: ls1028a: add flextimer based pwm nodes Thread-Index: AQHX8M2Qp2fR5PuKkEeWcFzMp8XOI6zuxrMAgAAZn+CAAAU2gIAABtXg Date: Wed, 13 Apr 2022 19:10:32 +0000 Message-ID: References: <20211214093240.23320-1-leoyang.li@nxp.com> <20211214093240.23320-4-leoyang.li@nxp.com> <20220413163306.hp5qyxxgdlekczet@skbuf> <20220413182327.lbemqze46eq7ulfn@skbuf> In-Reply-To: <20220413182327.lbemqze46eq7ulfn@skbuf> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 67ccc736-8997-41b1-2c69-08da1d81487b x-ms-traffictypediagnostic: AS4PR04MB9550:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6tGFeU8gS14b2FpzTznM/O9I0IEJ4yyng1oy9ixMKukYpaU3kGAs6ummcZ+Jmw8l303TOtAbkd5NksNDZlYRcw7E/hE/35MJquhU25xcLHY1Yx2AetAoWv+TauF4eVxtoiqFTiT0Ys2X7XJkL+bTql7jlyIxVvvGRpDSrDsjJG1XuIo09UjjQdoMiISJIjC/5rO6JzUh8l+YpEPUsjq2HBaQSb0fEgZsXQLOMb4z7NyfSaW88tcL3jZ32zx4VFVoewZsd+piJkkxLuLC/hOJZqaBYIVHR/4O0ftzsYVNV2wboUd5S26Dmv1S5au4i4Aevig8nj0zhjh5yammzZ61BtGOZGefBOjXx3J06VDtVpDUXlwrV7FjN4Ks1CeS059CANTsgoOc/xB8gAm7G+Onn0uhDtQyvQARVVjGlW+LW4qjaDUzw6c6uhGVzyROysB86gAs2eghOIuEp5YW6FoQmymPeocPM48WtoXcHue7UuG/GTWdZb7IhIFvby37vIpb8L3wk2/uYimSh7gCg9DQ5m64L80oEWiacXjx4iVkYgcYvq9Nbz6GC/igTT9nHHG6l44eGaTAcPxGsR5KV3srGF2zJFeXf7Im10UDxtb2o0j3F+qPdG1hgnJfeEjaCiQdJYPhbybfABwcDPWfITBfbKdnYupDz8MoXxvItLeJ2aovNmL2tgdQNCBKXX9RSlNVofVffwHmkbTRm5f5+ODjMg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8949.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38100700002)(66476007)(5660300002)(66946007)(66446008)(53546011)(86362001)(2906002)(66556008)(38070700005)(64756008)(33656002)(26005)(122000001)(8936002)(52536014)(4326008)(76116006)(8676002)(316002)(6916009)(83380400001)(508600001)(55016003)(6506007)(55236004)(9686003)(7696005)(71200400001)(186003)(54906003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vgywZujoGJQFpitU0sTgeG24vfQzroGDv1K8Xj+S8uenfnWV96pdRl/bYFSw?= =?us-ascii?Q?uHHUy6GrgDduthhSXcEaKycvRSOTq9QRKpcc4qTNm59KL33Y5x5tgQYCnt2W?= =?us-ascii?Q?I3JkLYB801TWHDT00gMUdOr2HFxpMHL8dMaDedTvKqTs1gP0gMKht+j5yB/h?= =?us-ascii?Q?81DzY5vi9cvvMMnaUtSJ3SvWTtXYJmEg9EbbgIttF2ef0UtHSyu42L+peVsz?= =?us-ascii?Q?aKeFWJRjbGqQO1rl0l3jHirLdnxjr0rnCec8qXi9/R6EafDWYc0+1z6d/IRK?= =?us-ascii?Q?CpXpsb612QC41Eu5tIEgzD+9FiyiHAwrtlwNoqWwIfcQ3qTFm0XNMa9i0oo+?= =?us-ascii?Q?4NBDU1erokwCGEUus1Go+oGQB/7TwqeFHOdGbvdei9OTQuPm0EKaXFP6b3kg?= =?us-ascii?Q?+J2N0W8sm+i0G6sKQAtP222+md/hKDE3yYpPzkmrySmlFDsrQ4y0hAPvfhKP?= =?us-ascii?Q?PYQc3GhcgMETCceut/ClHFFA+/nbKX0iZw5ClvlF8F7oDj0Uzf0jrcPANoRJ?= =?us-ascii?Q?6SElM+3pMS2Hg0DR8clicPyDKoW6Q8tbrVbKQ6a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gRQkyu40tV1qnba3sf+OQR02MlW3C+tw2qukIj4UpFD6JJWy1CNbdNn2?= =?us-ascii?Q?hXH8bxjzb7Ozy8ixC47nKp2dLedKB4tJZLFOUxX2eF+UFs3b3I/jqiRz+3QQ?= =?us-ascii?Q?RB8LvcjDElrkyCYF1fv6KrWY4Z5bW+wqkPqJ8JcWlOnCPY2ECB8uunGre7ur?= =?us-ascii?Q?DeNHjZrZKFUcGDvHsQunGyZHEXYqlrEahOs+xWoy0p4nOtfvnk9JlQfQGlmU?= =?us-ascii?Q?Ei2euuOUuUJbhgDLhZpgithx9fLVHZVuxWvfBw30p6tqPKkNwOILeuiwgzfg?= =?us-ascii?Q?W66+p00CXA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8949.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67ccc736-8997-41b1-2c69-08da1d81487b X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2022 19:10:32.9427 (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: v25rVTY1tmNOmhyyYfXOdc1oMZb4bi3XzuzOmaigRsUutY6BCZZ9py41HLghYXaL8QdoMOhkjhM6ucXFOaTuNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9550 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 > -----Original Message----- > From: Vladimir Oltean > Sent: Wednesday, April 13, 2022 1:23 PM > To: Leo Li > Cc: Shawn Guo ; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Biwen Li > > Subject: Re: [PATCH v3 3/8] arm64: dts: ls1028a: add flextimer based pwm > nodes >=20 > On Wed, Apr 13, 2022 at 06:07:20PM +0000, Leo Li wrote: > > > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi:1210.21-1219.5: > > > Warning > > > (unique_unit_address): /soc/pwm@2800000: duplicate unit-address > > > (also used in node /soc/timer@2800000) > > > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi:1221.21-1230.5: > > > Warning > > > (unique_unit_address): /soc/pwm@2810000: duplicate unit-address > > > (also used in node /soc/timer@2810000) > > > > Well, this is similar situation as pcie. The flextimer controller can > > be used as timer, PWM or alarm. We have separate drivers and bindings > > for these modes which resulted in different nodes for the same > > controller. >=20 > I think the mfd framework can address the situation where multiple driver= s, > with multiple functionalities, want access to the same memory region? I know mfd is used for device providing multiple functions at the same time= . I'm not sure if it can help dealing with the one function at a time scen= ario. Regards, Leo