Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp178491pxf; Wed, 10 Mar 2021 03:47:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyOFE0vEvcF9I/CejnHGmRuDWSYcImlByufAeF4q3bcWWnXkoNs2AgRYqH92/I1KEo2G8J X-Received: by 2002:aa7:c857:: with SMTP id g23mr2834486edt.86.1615376830177; Wed, 10 Mar 2021 03:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615376830; cv=none; d=google.com; s=arc-20160816; b=G/cFC36dfuuIzhEBT5ATH0lsdedw6IkFmpQnAlAOHQqO+Pfj9xfBYKQNQJ5sD0QTdZ ymVAxWcfjd66Z0xHORVUEoXa5gGCuA+hm4Sgr2dWOlUKTHkJrOTOKXfGScX5aPbeKbTl SwyUY395oAR9bVRV8E3FlrtYqa3j+0ZGTX6x/ZbB5elaV0QnfMT1GywVS/aQcwm9t+mE 4Xqql1EwH9roishZGJ57tcH+orJe1UQt7yWF8cHrzdRcS+DbusU8RrLiFhtqp7rdjdjz 2cawyKkuS6B++3BAyijLOafKm3huyKVIE1dXYepz8cqRKI0trEuYUhLr6Ik/pQBvbXbT 8h9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=op8MuAs4SRxmTKVvah22QByz3q7Mi3iArZEjUk+Thxk=; b=B6aN8kBR89um3LVYyFqKkW5ten9yUKQHqG/dlq1KuqJ6/tfYozJkUD8qIqUZvnFp61 dPa/5Zjw5GgmyrANjotXl2pAwmEOzpHr2jhQArzHmys0MkoIDNWA8p0mKyCPOOybGsRz jNDvWrai0Ml//I6ad/5hWyBr1z1UM3vIIrLX2or/tWEQ6OEFfNir5M6vJRRtdEyBG88Z sRaKGq/YngTIwtqHqxjnMNJZvB7AHx+PE6Kp5vvTPo5bdnFg5IkYt1N6x2S9URGcCwXH CtBjiqwwNwo1dgqD90wYFEDfwCSA7va6CQY8+X7LMwvXHqdyMdZS20zERsxGlzHpDBTG Ptzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tbZ0SW43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf6si11505791ejb.272.2021.03.10.03.46.47; Wed, 10 Mar 2021 03:47:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tbZ0SW43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232010AbhCJLof (ORCPT + 99 others); Wed, 10 Mar 2021 06:44:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232425AbhCJLoV (ORCPT ); Wed, 10 Mar 2021 06:44:21 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 020DDC06174A; Wed, 10 Mar 2021 03:44:19 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id i8so17533119iog.7; Wed, 10 Mar 2021 03:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=op8MuAs4SRxmTKVvah22QByz3q7Mi3iArZEjUk+Thxk=; b=tbZ0SW438zSVkyxkrUhPs282MdsJiT0nydSL1+q+VaeYCp1wR8gU7zUe/TUlSYglgs iIIIODc35S1SjI7uAF2/h03PXLNXux2vFLXcDxyq/ltPNbSZZ+PQHSXmj/FRCFuqxbto lxjj5dWzSescFEfPuLEUc5QVzR9hZEli26Wt4Q5IAuiWYr35c/1Xe+qihbPXQ9JSDBqH YPQ8wM3w5MZBkLolu9DGVN443g1F1hXK4D9B1/hjCnDMAeLrNQDuck9jIUCkskFy6Ezb /0N+E/Ry/VxfIWVLKcCCb5RLWGmjPoNitIV/QJL26I8g429kqEVv8PTtGYxzzuTnST9l yKUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=op8MuAs4SRxmTKVvah22QByz3q7Mi3iArZEjUk+Thxk=; b=T9FllSKU9cuQ4sNFzBHPGXK7xAQbfIZbKJ6a+VHKqczrtsxo2vDD4WOUZc1Zq5v95V d/bx4UnPC5untZs8A98mByhmh0zaUbDDrapMIvmiICj4vvgfSrHlIwGw1mNkFeWI5mIy Mnpj1dvWVDz++CiLONuX3nW9z/vcO8TWy1VwSXa+Z/zOpzsxn/w6vil0bBij/dvZ4lBB c2sYLwrxh56AST/gpxH9/wQheqbFUoC7RRcBo5xz/NImICUGNT1TY8FJZNDCXL4dBYrL 4sGgSM9426gWZaIdXL0L5dPwwHCz9Eg3HrgIt2q5lBS7STC8adO6NQ+r6o20xWKOCu0a /T0g== X-Gm-Message-State: AOAM531G87/qsSU6YkmzuYqazIj3sygnFIMFi24JhX6chaM6Rc7WDLjF +pvzLjL6nVAMWkyof0/Uktfhmdkx+Ea/vCnjuP0= X-Received: by 2002:a5e:a519:: with SMTP id 25mr1857796iog.3.1615376658157; Wed, 10 Mar 2021 03:44:18 -0800 (PST) MIME-Version: 1.0 References: <1590564453-24499-1-git-send-email-dillon.minfei@gmail.com> <1590564453-24499-7-git-send-email-dillon.minfei@gmail.com> <159056850835.88029.9264848839121822798@swboyd.mtv.corp.google.com> In-Reply-To: <159056850835.88029.9264848839121822798@swboyd.mtv.corp.google.com> From: dillon min Date: Wed, 10 Mar 2021 19:43:42 +0800 Message-ID: Subject: Re: [PATCH v6 6/9] clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after kernel startup To: Stephen Boyd Cc: Dave Airlie , Alexandre Torgue , Andy Shevchenko , Mark Brown , Daniel Vetter , Linus Walleij , Maxime Coquelin , Michael Turquette , =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , p.zabel@pengutronix.de, Rob Herring , Sam Ravnborg , thierry.reding@gmail.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux Kernel Mailing List , linux-spi , linux-stm32@st-md-mailman.stormreply.com, "open list:DRM PANEL DRIVERS" , linux-clk , Hua Dillon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.minfei@gmail.com (2020-05-27 00:27:30) > > From: dillon min > > > > stm32's clk driver register two ltdc gate clk to clk core by > > clk_hw_register_gate() and clk_hw_register_composite() > > > > first: 'stm32f429_gates[]', clk name is 'ltdc', which no user to use. > > second: 'stm32f429_aux_clk[]', clk name is 'lcd-tft', used by ltdc driver > > > > both of them point to the same offset of stm32's RCC register. after > > kernel enter console, clk core turn off ltdc's clk as 'stm32f429_gates[]' > > is no one to use. but, actually 'stm32f429_aux_clk[]' is in use. > > > > Fixes: daf2d117cbca ("clk: stm32f4: Add lcd-tft clock") > > Signed-off-by: dillon min > > --- > > Acked-by: Stephen Boyd