From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED18FC3A5A3 for ; Tue, 27 Aug 2019 17:06:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE89B2173E for ; Tue, 27 Aug 2019 17:06:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LmIhdQp8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE89B2173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vyhsz2leP0aIx96ez+QmV10zaD6+pWNK3Zl5NT24wv4=; b=LmIhdQp83tBBJb +JGs9DfsFkIX4xwXBrvv7sRfm7tTiCV8w/WH1QBfr0xOyQo7rZRafKoXpSi9BXk/byoEV376vmKEO zgv0cdlNtkAHlQ4FLN2p1Q37nvtPIFjQ7caRZnsfD2zaxR/Hvli4avVUIICQ9DVGNj0QUN+CoxjYC Mlzt/dyPkDdXj3Jwr36zT5XNcE2E8kJ9YXP5V2ZKROv1Y3FpeZDqqMINPOfJS8mz3gZ6eV96LvGN/ pcDmd/htweV1tuIdCJa1iO9nE0l4+9sAWI6N3bm0MXGhPmEHsOIJiUYLX+9IXnPJlk3yqS83Za/wL wvUvXI0QdtdvzXMCldXA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2ev2-0000gh-Eh; Tue, 27 Aug 2019 17:06:08 +0000 Received: from mail-ot1-f67.google.com ([209.85.210.67]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2eu5-0006iS-WF for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 17:05:13 +0000 Received: by mail-ot1-f67.google.com with SMTP id e12so19357248otp.10 for ; Tue, 27 Aug 2019 10:05:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+gB1Kla9RO8vfObOwL3Zz+I0DqxA21AD90CmgmUfSMU=; b=HAUXtPwU5GHtwO65JsHKpjFvz9ZnWYlBkZ7g8jJZJ5pot1WdbBYtNQKBbOngyBW7vS arEUM4HxJpFt11JKHKyJGemUWc+9q0bH0hKjiiBLWoE5OTm7nQH7uYDSaKYelEUBP+kb qhtFSf4BQlJTMZstIDCpYXWKjpPsiHcxxGgASihB95uBFraGsL7Qio8dyCFsHbg3I0ug QbxwkiW/uHOZ8YkaBNLdKH73xLfWeuBoHNCQogNI6kfy1T3qLzzCx5b39ai9g8RV8A2H 6X/dLWy8OT+rvJrh5Hipn88fl74O0ZcjWtoewQqan7y028MaHuNeF6b05gmnAJ6/ek5G 375A== X-Gm-Message-State: APjAAAWMlckwk3r2SsnKerBY912YALFFHwH0cs22h8ZN9sOOqJB+FfX+ aiCXfRP4YaX4X+NAnja9eg== X-Google-Smtp-Source: APXvYqzHBNcmJDDpan/WxDf0ZvA9bvKRVFpjTGeXe4nK7SEkveYLa6EsV/XHxkTBjZz4pnXQa5wvNQ== X-Received: by 2002:a9d:7d12:: with SMTP id v18mr13007924otn.342.1566925508616; Tue, 27 Aug 2019 10:05:08 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 20sm5617048oth.43.2019.08.27.10.05.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 10:05:08 -0700 (PDT) Date: Tue, 27 Aug 2019 12:05:07 -0500 From: Rob Herring To: Dong Aisheng Subject: Re: [PATCH V4 02/11] dt-bindings: clock: imx-lpcg: add support to parse clocks from device tree Message-ID: <20190827170507.GA16423@bogus> References: <1566299605-15641-1-git-send-email-aisheng.dong@nxp.com> <1566299605-15641-3-git-send-email-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1566299605-15641-3-git-send-email-aisheng.dong@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_100510_061833_819C4CA4 X-CRM114-Status: GOOD ( 15.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , devicetree@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, linux-imx@nxp.com, kernel@pengutronix.de, fabio.estevam@nxp.com, shawnguo@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 20 Aug 2019 07:13:16 -0400, Dong Aisheng wrote: > MX8QM and MX8QXP LPCG Clocks are mostly the same except they may reside > in different subsystems across CPUs and also vary a bit on the availability. > > Same as SCU clock, we want to move the clock definition into device tree > which can fully decouple the dependency of Clock ID definition from device > tree and make us be able to write a fully generic lpcg clock driver. > > And we can also use the existence of clock nodes in device tree to address > the device and clock availability differences across different SoCs. > > Cc: Rob Herring > Cc: Stephen Boyd > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Michael Turquette > Cc: devicetree@vger.kernel.org > Signed-off-by: Dong Aisheng > --- > ChangeLog: > v3->v4: > * change bit-offset property to clock-indices > * use constant macro to define clock indinces > * drop hw-autogate property which is still not used by drivers > v2->v3: > * no changes > v1->v2: > * Update example > * Add power domain property > --- > .../devicetree/bindings/clock/imx8qxp-lpcg.txt | 36 ++++++++++++++++++---- > include/dt-bindings/clock/imx8-lpcg.h | 14 +++++++++ > 2 files changed, 44 insertions(+), 6 deletions(-) > create mode 100644 include/dt-bindings/clock/imx8-lpcg.h > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel