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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 535E0C433FF for ; Mon, 29 Jul 2019 10:53:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 250D42070D for ; Mon, 29 Jul 2019 10:53:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="JaMcne2D" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387543AbfG2Kxn (ORCPT ); Mon, 29 Jul 2019 06:53:43 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50315 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387444AbfG2Kxm (ORCPT ); Mon, 29 Jul 2019 06:53:42 -0400 Received: by mail-wm1-f66.google.com with SMTP id v15so53425064wml.0 for ; Mon, 29 Jul 2019 03:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=JaMcne2DiIeeVdHaTOx7JgVOlm1khWybU1LyPFgBTqmdGdKfa9IF6b1ryZ2sB+bASI Fi2JBz7VOeu8iKN+vl4MO5yNst6wEnE2TqUsVhBiNePV0f3zFT3jzs2RL7c+Sb9kcQxm CG59Hh/jNrQbPWIpCAo9g+OsOTjKTyUjGfA990pehRyBz0gvUdzeP1pzVdohzIdGOemP fiVrSttr2vz+jWzQxvJ7d3GcWtgQdpmSyiv50M02cUS1ChTJ8z7Fnj+45R8o4VejuBRO jUHBx90LyQtnv7Tklc6uaYD0QK7/OWaB6JmVSEU19GSqhUnO3kxP8m3sLeaiYIVbb7o2 385w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=JIhtLeyzKP5bED7WjTrz1oUwJS/7FOpl0FitlcyUPKTn+vivYYueT8JlOf7JU4vgyu pDYzZgYcWAzj1kALP62eoryznW8/aF15oQ8GhkAEYgThWpSSEymQ8731eEB9afzLVT83 a1AulgBVVYGdTmwSYgTRTq/cxn7guzTeVLNvzLqcn0iR78n5samuBUkWf2KZ88HtO4di Zv58Tu4GCAUMdOMawnFUI8vyG69qyXTeBGpsaEQAn3eUxMiyJnfOGdT3SmtKt9BHxHF3 xGUdsSDvyAMTEANtY2k1yX0//0AWu5alZz3D+TpRkUG1/Rzuzid5duNSYboogF2ckdS5 PmIA== X-Gm-Message-State: APjAAAXedqNR9A8L32yAgyw5kAfiNE7u6DFtBk12kCqdwpGqI2TOYjx+ drwIxSXvoMCJfPmDi+cWKsb4Eg== X-Google-Smtp-Source: APXvYqxwuWo8lB42LjgZDeetJ6kM9JIYJvns12qyruinqHeJddpFQariDUkpt28Qlhw6t91UoVT+pg== X-Received: by 2002:a1c:e341:: with SMTP id a62mr41453713wmh.165.1564397620334; Mon, 29 Jul 2019 03:53:40 -0700 (PDT) Received: from localhost ([2a01:e34:eeb6:4690:ecfa:1144:aa53:4a82]) by smtp.gmail.com with ESMTPSA id i13sm53855709wrr.73.2019.07.29.03.53.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 03:53:39 -0700 (PDT) From: Jerome Brunet To: Alexandre Mergnat Cc: khilman@baylibre.com, sboyd@kernel.org, narmstrong@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, baylibre-upstreaming@groups.io, Alexandre Mergnat Subject: Re: [PATCH v2 0/4] clk: meson: ao: use the new parent description method In-Reply-To: <20190725164126.27919-1-amergnat@baylibre.com> References: <20190725164126.27919-1-amergnat@baylibre.com> Date: Mon, 29 Jul 2019 12:53:38 +0200 Message-ID: <1j36ip9knh.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 25 Jul 2019 at 18:41, Alexandre Mergnat wrote: > Meson SoCs clock controllers use the string comparison method to describe > parent relation between the clocks, which is not optimized. > > Its also use bypass clock made from device-tree clock to provide an input > clock which can be access through global name, but it still not optimal. > > A recent patch [0] allows parents to be directly specified with > device-tree clock name or without string names from localy declared clocks. > > This patchset replaces clock string names by clock pointers (as possible), > removes bypass clocks and uses directly device-tree clock names in parent > assignment. > > Tested on GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary > (orphan too) before and after migration. > > [0] commit fc0c209c147f ("clk: Allow parents to be specified without string names") > > Change since v1: > - Improve clock parent assignment for "fixme" using name instead of fw_name. > > Alexandre Mergnat (4): > clk: meson: g12a-aoclk: migrate to the new parent description method > clk: meson: gxbb-aoclk: migrate to the new parent description method > clk: meson: axg-aoclk: migrate to the new parent description method > clk: meson: remove ao input bypass clocks > > drivers/clk/meson/Kconfig | 1 - > drivers/clk/meson/axg-aoclk.c | 63 ++++++++++++++----------- > drivers/clk/meson/g12a-aoclk.c | 81 ++++++++++++++++++++------------- > drivers/clk/meson/gxbb-aoclk.c | 55 +++++++++++----------- > drivers/clk/meson/meson-aoclk.c | 37 --------------- > drivers/clk/meson/meson-aoclk.h | 8 ---- > 6 files changed, 114 insertions(+), 131 deletions(-) > Applied Thanks ! > -- > 2.17.1 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 61D78C433FF for ; Mon, 29 Jul 2019 10:53:48 +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 3722C2070D for ; Mon, 29 Jul 2019 10:53:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Od3LkNbb"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="JaMcne2D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3722C2070D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com 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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qSXAGmroyaChgU+fqMGkXEtJKwYHvaS3a6N3CJ8olUI=; b=Od3LkNbb4+woDy inUAnzrCcSnMVYNcFQiLav+gTB8VxowKRpDa79o7KSTrL4Pe7e/Qjm2h5jKJRs7s/IjFhXSR9qSLb 0W6tKyvg1B+HrNzzPLH4DnAOXxTurD02zy7LJEMy1HyrOkK/IKfGYH2Xirz1FOV7WdvLLFtxpKT4W YKt7ETHOonAlj8BmrQnNEzDg3SDfFgxICju7EIrWn1hF/bdCVdYBWnCbCdj6ETaj1Zs97QKGfbzzp FU+2MsWOcYRjKFeThZsd+i6l91NcbViEWTGezs+o8jz2z3CdbhnACeXbdDr9+u01kqB5MNuWxKYyd 93jt88SpSmQ/ESYB3Y3g==; 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 1hs3Hl-00009W-Ms; Mon, 29 Jul 2019 10:53:45 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hs3Hi-00008o-3s for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2019 10:53:43 +0000 Received: by mail-wm1-x342.google.com with SMTP id 207so53415212wma.1 for ; Mon, 29 Jul 2019 03:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=JaMcne2DiIeeVdHaTOx7JgVOlm1khWybU1LyPFgBTqmdGdKfa9IF6b1ryZ2sB+bASI Fi2JBz7VOeu8iKN+vl4MO5yNst6wEnE2TqUsVhBiNePV0f3zFT3jzs2RL7c+Sb9kcQxm CG59Hh/jNrQbPWIpCAo9g+OsOTjKTyUjGfA990pehRyBz0gvUdzeP1pzVdohzIdGOemP fiVrSttr2vz+jWzQxvJ7d3GcWtgQdpmSyiv50M02cUS1ChTJ8z7Fnj+45R8o4VejuBRO jUHBx90LyQtnv7Tklc6uaYD0QK7/OWaB6JmVSEU19GSqhUnO3kxP8m3sLeaiYIVbb7o2 385w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=qXal644Oqf4ew8mReBxIBTYKQQqAICefnl1UPy1yXRHD9iU4bHyT96iWDRPSi9hNhf 3srijpc7zlVshvhiu5jIXMM1xbAC9Vl/EFrDIl/xHOJqK67mnHQ7bV8/rjNdG80gJ2Bk ExR/u70JHgeWuZgiSH3e+7YLBwZbkrQ13XURHDfaHakmxpuz6Q1abWMBLi8X1pAibtiK O+sbLu32XnpBXy5XIm6wnyvh0Mq30SeOflPQrRYVMWzyPGBpFOsBB8I6D61sih577pvE GD8ZTzXQeEwYu47ThL09wairFIPb1pL9OY0GwfhWIWK+M0CPTX6R2L89+W42jIf40nZq HK5g== X-Gm-Message-State: APjAAAWt39kljZRza+jWfmGSFK48fw/MHsmPKQ9C+s4+AxuRUEvhm/at IT9OrQ7yvb1YKbPo65uU0WLtXw== X-Google-Smtp-Source: APXvYqxwuWo8lB42LjgZDeetJ6kM9JIYJvns12qyruinqHeJddpFQariDUkpt28Qlhw6t91UoVT+pg== X-Received: by 2002:a1c:e341:: with SMTP id a62mr41453713wmh.165.1564397620334; Mon, 29 Jul 2019 03:53:40 -0700 (PDT) Received: from localhost ([2a01:e34:eeb6:4690:ecfa:1144:aa53:4a82]) by smtp.gmail.com with ESMTPSA id i13sm53855709wrr.73.2019.07.29.03.53.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 03:53:39 -0700 (PDT) From: Jerome Brunet To: Alexandre Mergnat Subject: Re: [PATCH v2 0/4] clk: meson: ao: use the new parent description method In-Reply-To: <20190725164126.27919-1-amergnat@baylibre.com> References: <20190725164126.27919-1-amergnat@baylibre.com> Date: Mon, 29 Jul 2019 12:53:38 +0200 Message-ID: <1j36ip9knh.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190729_035342_627317_E1A314F7 X-CRM114-Status: GOOD ( 10.75 ) 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: narmstrong@baylibre.com, sboyd@kernel.org, khilman@baylibre.com, Alexandre Mergnat , linux-kernel@vger.kernel.org, baylibre-upstreaming@groups.io, linux-amlogic@lists.infradead.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 Thu 25 Jul 2019 at 18:41, Alexandre Mergnat wrote: > Meson SoCs clock controllers use the string comparison method to describe > parent relation between the clocks, which is not optimized. > > Its also use bypass clock made from device-tree clock to provide an input > clock which can be access through global name, but it still not optimal. > > A recent patch [0] allows parents to be directly specified with > device-tree clock name or without string names from localy declared clocks. > > This patchset replaces clock string names by clock pointers (as possible), > removes bypass clocks and uses directly device-tree clock names in parent > assignment. > > Tested on GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary > (orphan too) before and after migration. > > [0] commit fc0c209c147f ("clk: Allow parents to be specified without string names") > > Change since v1: > - Improve clock parent assignment for "fixme" using name instead of fw_name. > > Alexandre Mergnat (4): > clk: meson: g12a-aoclk: migrate to the new parent description method > clk: meson: gxbb-aoclk: migrate to the new parent description method > clk: meson: axg-aoclk: migrate to the new parent description method > clk: meson: remove ao input bypass clocks > > drivers/clk/meson/Kconfig | 1 - > drivers/clk/meson/axg-aoclk.c | 63 ++++++++++++++----------- > drivers/clk/meson/g12a-aoclk.c | 81 ++++++++++++++++++++------------- > drivers/clk/meson/gxbb-aoclk.c | 55 +++++++++++----------- > drivers/clk/meson/meson-aoclk.c | 37 --------------- > drivers/clk/meson/meson-aoclk.h | 8 ---- > 6 files changed, 114 insertions(+), 131 deletions(-) > Applied Thanks ! > -- > 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 1E9C5C433FF for ; Mon, 29 Jul 2019 10:53:55 +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 E90012070D for ; Mon, 29 Jul 2019 10:53:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZW7ntuV0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="JaMcne2D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E90012070D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ffs8PDg5cEpzRUZ16+tqIkkvTYn6BYsRbJNZDO/NHhQ=; b=ZW7ntuV0UIrSQh HpC/YIyHIDlwi5nN4XnW2a38iyABETLa6c2i6BxjAtjURL6vDNv7bXtb+QNKbAyfuGt8bkuJuCUX1 8sVR2mMaJXdJGKG97kGSmGPsOYTNogK5+xTvXHbOgd+tm++hqF7+cmUfThAsKPCV3+zf6go+Va4Yc uuvzOqDxovL2KMZsWPfMJbglGFMvhpsJILCtwVxBVVf246PU59azCaqB4AGvQct2Q3+WQmWph3OZr Ey2TDLsqOOsGKsz8DfXZySuQ38/lArVksqeyYg343xjkZcPsxt2NHQK9P4cP5SYKVF2OrtolLhKaz jRYUi0Y/dKKDCcJ0IIvA==; 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 1hs3Hq-0000H3-KZ; Mon, 29 Jul 2019 10:53:50 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hs3Hi-00008n-3r for linux-amlogic@lists.infradead.org; Mon, 29 Jul 2019 10:53:43 +0000 Received: by mail-wm1-x341.google.com with SMTP id 207so53415210wma.1 for ; Mon, 29 Jul 2019 03:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=JaMcne2DiIeeVdHaTOx7JgVOlm1khWybU1LyPFgBTqmdGdKfa9IF6b1ryZ2sB+bASI Fi2JBz7VOeu8iKN+vl4MO5yNst6wEnE2TqUsVhBiNePV0f3zFT3jzs2RL7c+Sb9kcQxm CG59Hh/jNrQbPWIpCAo9g+OsOTjKTyUjGfA990pehRyBz0gvUdzeP1pzVdohzIdGOemP fiVrSttr2vz+jWzQxvJ7d3GcWtgQdpmSyiv50M02cUS1ChTJ8z7Fnj+45R8o4VejuBRO jUHBx90LyQtnv7Tklc6uaYD0QK7/OWaB6JmVSEU19GSqhUnO3kxP8m3sLeaiYIVbb7o2 385w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=P3COhzyH6iXhkUqb58Ll+n9CaZJ1lhlavM2fMRktAGU=; b=c8H8MrnnEAp5olFN+RrWxGXM5swRpalS2KztHKtAdDziskUkJgAUWcmuCp4TkWqcXR MHIqwJF61ozFmSYabcY4nRe/31Z1kzK0EEu/SB/gZpCYnIhECtEAI2y7wZcCVw4Ngw0J J72wRbdazxna3JS2NBz7pJkMoLyYNBkJMmQFdAxJLklylV1xkNzxY96nSNRG7mEu2buJ 1B+NI3exBPCcHM88TPIND1Nn6hKJgzGJhaEm4Y6xlSoGZ1w6rwTHk0jIYuGK8hwieaLy qYvwC/L/ZvaTPtVrwZB19NwKoX6JxVddp8P57+/ya85HtQfx7rMu2jCX4EbMiHEc5gny zH2g== X-Gm-Message-State: APjAAAXebhBpLBSgJANqEuBkmHKNPV+xQC1IVJkpOCNdGB0TVuT+bHWM ZdtEsm2aA4Ajnlz9Z8RU5VDuwQ== X-Google-Smtp-Source: APXvYqxwuWo8lB42LjgZDeetJ6kM9JIYJvns12qyruinqHeJddpFQariDUkpt28Qlhw6t91UoVT+pg== X-Received: by 2002:a1c:e341:: with SMTP id a62mr41453713wmh.165.1564397620334; Mon, 29 Jul 2019 03:53:40 -0700 (PDT) Received: from localhost ([2a01:e34:eeb6:4690:ecfa:1144:aa53:4a82]) by smtp.gmail.com with ESMTPSA id i13sm53855709wrr.73.2019.07.29.03.53.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 03:53:39 -0700 (PDT) From: Jerome Brunet To: Alexandre Mergnat Subject: Re: [PATCH v2 0/4] clk: meson: ao: use the new parent description method In-Reply-To: <20190725164126.27919-1-amergnat@baylibre.com> References: <20190725164126.27919-1-amergnat@baylibre.com> Date: Mon, 29 Jul 2019 12:53:38 +0200 Message-ID: <1j36ip9knh.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190729_035342_625910_DE512384 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: narmstrong@baylibre.com, sboyd@kernel.org, khilman@baylibre.com, Alexandre Mergnat , linux-kernel@vger.kernel.org, baylibre-upstreaming@groups.io, linux-amlogic@lists.infradead.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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Thu 25 Jul 2019 at 18:41, Alexandre Mergnat wrote: > Meson SoCs clock controllers use the string comparison method to describe > parent relation between the clocks, which is not optimized. > > Its also use bypass clock made from device-tree clock to provide an input > clock which can be access through global name, but it still not optimal. > > A recent patch [0] allows parents to be directly specified with > device-tree clock name or without string names from localy declared clocks. > > This patchset replaces clock string names by clock pointers (as possible), > removes bypass clocks and uses directly device-tree clock names in parent > assignment. > > Tested on GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary > (orphan too) before and after migration. > > [0] commit fc0c209c147f ("clk: Allow parents to be specified without string names") > > Change since v1: > - Improve clock parent assignment for "fixme" using name instead of fw_name. > > Alexandre Mergnat (4): > clk: meson: g12a-aoclk: migrate to the new parent description method > clk: meson: gxbb-aoclk: migrate to the new parent description method > clk: meson: axg-aoclk: migrate to the new parent description method > clk: meson: remove ao input bypass clocks > > drivers/clk/meson/Kconfig | 1 - > drivers/clk/meson/axg-aoclk.c | 63 ++++++++++++++----------- > drivers/clk/meson/g12a-aoclk.c | 81 ++++++++++++++++++++------------- > drivers/clk/meson/gxbb-aoclk.c | 55 +++++++++++----------- > drivers/clk/meson/meson-aoclk.c | 37 --------------- > drivers/clk/meson/meson-aoclk.h | 8 ---- > 6 files changed, 114 insertions(+), 131 deletions(-) > Applied Thanks ! > -- > 2.17.1 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic