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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 177CBC433E0 for ; Fri, 31 Jul 2020 21:30:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D301D2087C for ; Fri, 31 Jul 2020 21:30:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uPgPYnTm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D301D2087C 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+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=merlin.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=MQyqsa1rQK/3Jy0PXj2ikhikkuJRUMLOBN7VoeeboI8=; b=uPgPYnTmQrXkmaCu+YTX0G7Og 9kljepUWHhdqXQ6/TwHszp1f+QXwJmi6bihN2c/4F/TGHOJsPpcsbZJzMfds3dv6de99GWcwDKMlV UVyyQS8QNoJ/L8BzZH1FyYsYFTO3Fbt/LrpwPxpvgEQDUcrdfhH7doep1Ha0/bZB7GA963ILl46ta OBQj8rCGrNW68EbSVwYl6yLAkFnwPHLUycn6wVu+GCSeIzfnHrbaQTbRyZaHf0iHgyRkXFn3awMPh HAhE0Pp5lim0/EoryUfQSLaXm5tIq57CbWzfrweCqv7AjGQJSjYJ+YPjpT6OZ5PemIZJCuC7f8X7y I0VY++Cdg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1cZj-0007v4-PI; Fri, 31 Jul 2020 21:28:23 +0000 Received: from mail-io1-f68.google.com ([209.85.166.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1cZh-0007uP-5z for linux-arm-kernel@lists.infradead.org; Fri, 31 Jul 2020 21:28:22 +0000 Received: by mail-io1-f68.google.com with SMTP id j8so20686625ioe.9 for ; Fri, 31 Jul 2020 14:28:20 -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; bh=sVnBiF5i1es6XtH44ZtTDOKObrgpwZ2en0Vy3+DputQ=; b=nImlBl1FxkjkWc9R4vTzDbElJFLybDptnbhgTOzjSl/0cjMdCFXmVE66zhZ5hF3plX TE2fE+2U51DFmuB0tYxtoEwH1qSEF8zWu359aEPE8qjnyhR1WVM6mHAgxWeXrWZn2C53 Y2MBkLYKmIx6+pyUJNSvBLpvqZUeQyqMttX5U0tvorYpFWowueA6z0rJVUPzSklR6+ws 4jRkRDvveNgs95lLgTmlVmFemLUteFDYRVBnyElM44sd7ObMjMPUEah2OtmVhuOYYpJt 29DJqT0ge6eWzzgWKT94ghNfOmhh0NDZqTbtFrSGflcIOg+hH9koWxlAD3qOM3omL3Kr PjuQ== X-Gm-Message-State: AOAM531K8SnNVogy6UWUUOdToZ0kWplCMxl50ANToyfGFKNByOLpgaEU TTihCyd5T3nf0DCq0cC2Qg== X-Google-Smtp-Source: ABdhPJwur50y+86swFURuMIPAxgNj7veyK1aygfJ2RBiIH75TGON/Gjzru4QNpnZ11hrSwzisTrTrg== X-Received: by 2002:a05:6602:2c08:: with SMTP id w8mr5584224iov.129.1596230899991; Fri, 31 Jul 2020 14:28:19 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id j5sm5453486ilq.30.2020.07.31.14.28.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 14:28:19 -0700 (PDT) Received: (nullmailer pid 824420 invoked by uid 1000); Fri, 31 Jul 2020 21:28:16 -0000 Date: Fri, 31 Jul 2020 15:28:16 -0600 From: Rob Herring To: Dong Aisheng Subject: Re: [PATCH v7 02/11] dt-bindings: clock: imx-lpcg: add support to parse clocks from device tree Message-ID: <20200731212816.GA824333@bogus> References: <1596009618-25516-1-git-send-email-aisheng.dong@nxp.com> <1596009618-25516-3-git-send-email-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1596009618-25516-3-git-send-email-aisheng.dong@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200731_172821_268358_9F022DFA X-CRM114-Status: GOOD ( 21.35 ) 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: 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 29 Jul 2020 16:00:09 +0800, 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: Sascha Hauer > Cc: Michael Turquette > Cc: devicetree@vger.kernel.org > Cc: Shawn Guo > Cc: Rob Herring > Cc: Stephen Boyd > Signed-off-by: Dong Aisheng > --- > ChangeLog: > v6->v7: > * No other changes except converting to json schema based on the former reviewed > patches due to the lagecy binding file was removed in latests kernel. > Because the format is different now, i removed the former R-b > and A-b tags and request a new review. > See original patch here: > https://patchwork.kernel.org/patch/11439079/ > v4->v6: > * no changes > 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 > --- > .../bindings/clock/imx8qxp-lpcg.yaml | 79 ++++++++++++++----- > include/dt-bindings/clock/imx8-lpcg.h | 14 ++++ > 2 files changed, 74 insertions(+), 19 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