Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp784379pxk; Wed, 23 Sep 2020 16:34:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBAgdU8oTXncMy10PFUW7m7K11d9ie5bWBHr6hbTo2cf0ZcIKmRanf41/6XTQW8RggNF3o X-Received: by 2002:a05:6402:1515:: with SMTP id f21mr1829837edw.175.1600904072898; Wed, 23 Sep 2020 16:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600904072; cv=none; d=google.com; s=arc-20160816; b=oxIRREiNYH7J+1j/FS6/0b/Ndh1zJmLTPfZJA7xHTjkYUTFsJV78Qqb1gWYgcxIHTk oueA3XdJqMB9oju2YS7NtV4UaiKeQZggxnpmX/u/3EJVubGq9jYEdqRLArFMEWP//hkU Q81SOJZg5hwE64/Zt/jNtAL8o6A2AzWCQCITj9Np9YxrZZI9NStExU0k3s9nsNDk8FBM 1H+WIY0f9znoQZOgQ4SMbtPHBoz0u2X8PYIUhQoY9y3bDvnF5uMs5LLbjMRz/Z1Wz13u yAHfZw3xGsUy2bRDcp34GBCvAIrQLIKxDnMLPTsfh2L0HTreWi0m0BDISa0YZLrJsrDh AlEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=oSL6dOq7jpxqNQn7ql9Gch3nY0PYBQmY/AbBN5t4Xuw=; b=ihNapqQHz5e5V306RAsmsWzXPeAHKmEn85dguJjQpOEl2I4i99d67arWUk4JQZfrFt ifm05ltjMaQOrJkt/ehvJtwU6scdg5wGVxkYAfvURJIxQXFcdQPUIxjnxhq2xngim6RU 5F0KnJo1JATvKKOFwqXCsO1GkW4LUC51N6JfDasUaw+Y01q3ASVU7e4+G8qXsDA/90TI DMbLpV6uwaPweTqWWTeIwxEx4OkGj53+143rhNiGirbvxz+kK/85YWhavryUmOz2yze8 nmXjSiQFe6Un/uD9mSY1hZrjwzoZoTvxle8GYXGihBza0R6M0sOAqcg6McYH7h7c/my2 5ZrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=trOkXhbU; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl4si997654ejb.512.2020.09.23.16.34.09; Wed, 23 Sep 2020 16:34:32 -0700 (PDT) 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=@kernel.org header.s=default header.b=trOkXhbU; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726814AbgIWXan (ORCPT + 99 others); Wed, 23 Sep 2020 19:30:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:36240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbgIWXaf (ORCPT ); Wed, 23 Sep 2020 19:30:35 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5D732065E; Wed, 23 Sep 2020 23:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600903835; bh=YEekD48/CVeQDATxhCdijxDkNgGZL+EL076GbjZ49R0=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=trOkXhbUhaazwz6ah1vmvfC5SPgR51xx5YprUD7cw4+Ma3SxBqp1zJg9A5X/OVfos fmpVC1eMHZ+PXBD/fJw+uT4eLLQCChsApsYgGqoG1/Rbm+vg/Lfhpk4qmMqQ3A/Oi2 E4Z0LPl2HDlyxrJ9SYkRYq4KLTl9o/WGdtXOEcos= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <0ce9fdb6-e224-ced7-ec32-fe67b2ca6127@marek.ca> References: <20200904030958.13325-1-jonathan@marek.ca> <20200904030958.13325-6-jonathan@marek.ca> <160080040123.310579.8471841951357841843@swboyd.mtv.corp.google.com> <0ce9fdb6-e224-ced7-ec32-fe67b2ca6127@marek.ca> Subject: Re: [PATCH v2 5/5] clk: qcom: add video clock controller driver for SM8250 From: Stephen Boyd Cc: Andy Gross , Bjorn Andersson , Michael Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org To: Jonathan Marek , linux-arm-msm@vger.kernel.org Date: Wed, 23 Sep 2020 16:30:33 -0700 Message-ID: <160090383364.310579.1979253418505275623@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jonathan Marek (2020-09-23 09:07:16) > On 9/22/20 2:46 PM, Stephen Boyd wrote: > > Quoting Jonathan Marek (2020-09-03 20:09:54) > >=20 > >> + .ops =3D &clk_branch2_ops, > >> + }, > >> + }, > >> +}; > >> + > >> +static struct clk_branch video_cc_mvs0_clk =3D { > >> + .halt_reg =3D 0xd34, > >> + .halt_check =3D BRANCH_HALT_SKIP, /* TODO: hw gated ? */ > >=20 > > Is this resolved? > >=20 >=20 > Downstream has this clock as BRANCH_HALT_VOTED, but with the upstream=20 > venus driver (with patches to enable sm8250), that results in a=20 > "video_cc_mvs0_clk status stuck at 'off" error. AFAIK venus=20 > enables/disables this clock on its own (venus still works without=20 > touching this clock), but I didn't want to remove this in case it might=20 > be needed. I removed these clocks in the v3 I just sent. >=20 Hmm. Does downstream use these clks? There have been some clk stuck problems with venus recently that were attributed to improperly enabling clks before enabling interconnects and power domains. Maybe it's the same problem.