Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1551904pxb; Thu, 14 Apr 2022 08:32:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8FSmlC/nD5SdLYRQtawKQ9Wobj5hpXd+y4aAg3ts+DhCUb+FjvWXAbVUGNKRtnvoGkHe/ X-Received: by 2002:a63:1557:0:b0:39d:8460:2e07 with SMTP id 23-20020a631557000000b0039d84602e07mr2802360pgv.344.1649950321036; Thu, 14 Apr 2022 08:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649950320; cv=none; d=google.com; s=arc-20160816; b=bSuIUqAPQybYl6nGsJhheAk+qyslpVaVb2N3C1sDsKTP+UTkM24h/9nstMdgQawF1n xZSyMrdVJwNwTTV/3L1MgjKH8T+zgVmIe+BrGwd6jCcrnWDGjUtM9yyXt4g9tnC62r/p ZIw0g9dZl2ql2Qepn+L5GS83aVun9jgN5H76RwJcCg1yaCOhH/cq5jbbpaFEvtAkFiMp +hVO4pveWMlA14/mgpdutxD+gSAUoOIjj4PTSFbtVHu1pgrHER5uSNtkGPv60t7RnvE1 fdruMt+LrN43/sza2yQHT4XusSGyPpeafYAFqF/mBgQPmLVWwbe+yrSoYNTOua7/rGSf xP+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Jwfqri3KYR4KhSj3ppbAhDfkxtboXA/usiuYiLnlD6g=; b=EFC5Kjuj4ZePKr6R2azfsmC7BF727BEubpM8yVu9NMQ3KdKW+2Q912kGhOcZJFwl8J m8073VNNKSTQzPmiEtG5dvKPcL08RCqbwmc0Hx2LLZpRiIaV16aW/r3RcGHw5eEdnQI+ Kf9BfhPa6TbXuwrOn1WQNajFbBqSjp4dhy6WaTSHqqE9l1dh2Gf+QXH4XfGsRimWIvr7 Ns2ZMg7oTvgnIrrXagjSLViV/r4fC3ETIQe4lb4dN38Tu+s7ogDwJ8NDd0mBAES5V5d0 uUERrYf9VuJlcBpehD04uKz7rnUo83Kz1RHMY9PnfNUrS7O807Ab1/0ngnu3WK2ZnLif jBsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D2D4Krgh; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 130-20020a630188000000b003982f410c05si8179430pgb.487.2022.04.14.08.31.44; Thu, 14 Apr 2022 08:32:00 -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=@gmail.com header.s=20210112 header.b=D2D4Krgh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237601AbiDMSZy (ORCPT + 99 others); Wed, 13 Apr 2022 14:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234846AbiDMSZw (ORCPT ); Wed, 13 Apr 2022 14:25:52 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6024E39B93 for ; Wed, 13 Apr 2022 11:23:30 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id c64so3421601edf.11 for ; Wed, 13 Apr 2022 11:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Jwfqri3KYR4KhSj3ppbAhDfkxtboXA/usiuYiLnlD6g=; b=D2D4Krghpjip+XspQgjlS2wkMhhGg0rUren1SgkRWH79tcMehCPK6+vlkk/RaUg1qU w/Yb0zCT5A7/prxIZ7Yl6eLzqFhHObVC931r0aqbWNF9ErBW90nsyv7gIleYFZJxeFLK lDbW4CbdUGkB92NbMCI3JdM9A1IB1Xd561N1bUmW63yVxxytIHaA7O+gg09CWuarso6a uVDJ1Tj14bpbwMw1LIhpJNWDBdteofc2c3z7IUosL56R2NHjl2RPTzkIW4G/gzuLRnlS iCTWXRPTf10NlDrEzFsuuYQIEGWBYE/ZRpC1WmDOK1Xd9AHZAj5PajCQwEkLnEuoi4D6 eEIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Jwfqri3KYR4KhSj3ppbAhDfkxtboXA/usiuYiLnlD6g=; b=tW1x2KuCMjQwa7DFwG9cFg338IS1DkTvmsC2CsHncxSgQATgECfJLMf5ZKu9J3hQKa CwtGjOq8wgbI1D8ebMAz1/5vvJGCwcK+gM4uNq7EWCjGM4gn6wLlMVEH0uvDWMOSCf0J kZEnits29wHGuS0j8UfHA+uqV+bfQ3XM+/s3dEft5zBpBxKJITpZWSkvcI6nEG13MUN2 WOfYpETT6aC1p85+MC1Bt5MDECDaKcq78ViIkxfJanCcI6Zc8gHu+ZsaWU9IS+z0soa6 2u/a8FGYGBBx4jjjJArkjtsRu6LCHRLcUEIKEPbSy19tL2GmriACTudOspwc3NpgOQvD MiAQ== X-Gm-Message-State: AOAM530Lw6szOlJyIIVDrahIeWEIQ3TRTKahsecGCSlVN93641zvvjai CKnwFh2sZkT6kiSlqILrnY0= X-Received: by 2002:a05:6402:d4c:b0:410:a415:fd95 with SMTP id ec12-20020a0564020d4c00b00410a415fd95mr45126762edb.288.1649874208883; Wed, 13 Apr 2022 11:23:28 -0700 (PDT) Received: from skbuf ([188.26.57.45]) by smtp.gmail.com with ESMTPSA id lo15-20020a170906fa0f00b006e8a81cb623sm215227ejb.224.2022.04.13.11.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 11:23:28 -0700 (PDT) Date: Wed, 13 Apr 2022 21:23:27 +0300 From: Vladimir Oltean 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 Message-ID: <20220413182327.lbemqze46eq7ulfn@skbuf> References: <20211214093240.23320-1-leoyang.li@nxp.com> <20211214093240.23320-4-leoyang.li@nxp.com> <20220413163306.hp5qyxxgdlekczet@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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. I think the mfd framework can address the situation where multiple drivers, with multiple functionalities, want access to the same memory region?