Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2949139ybb; Mon, 30 Mar 2020 16:47:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu6jnFIw5/yJvyvPiCkbnIegAmsI0sjD0IAqXeiN1SotJhpLpcWJA4Hfwo8TJ3J/nBAdoHz X-Received: by 2002:a9d:3a45:: with SMTP id j63mr10243403otc.71.1585612055163; Mon, 30 Mar 2020 16:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585612055; cv=none; d=google.com; s=arc-20160816; b=RwHOfs7XiGOvFHCem5RT/0b/uIUsHLOwla1zVzvUYlVLWhSe54ykRJAitLbJ3QSEGC ejYrwKTmwGdKJxxbDugcbsJnRF4VTw8ykvbP+uVU3oENpxG8OC95izdr9QkzaDln1qyh mLZFlXmiq5JEYM9YyrZ+NU26uozgFQKcMeO3ebgA8oyDJ8U2/Wjv7y917zVaa3fic7hR GklCMJY7RbW+ejLvMujbR6Ffk7JgpWOhqAAzm+pvwvP6gbmFH+XkUNEOUfadKuPf0bNf Nfyj8BalcK54jxWbvoo8EFe0D3ZWtrA5MGmZ8dOd9OB9uwREbycu6roym0sEVjPQRmvY FOEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5uzSi9/VYcTraEBB9HY7h/rXS2xZdLMR03bizri5gj4=; b=mav9X6C9SOtk1QZEuS3mxeGldORY9AwDx8Z5uzCgaFbcyDLefq5+hUz2u8NoQMAxCb hjnKEBR8/rqDpzk17z/wtsU1tguTR54g3/mCFfEBOWOm6AR6ALLHVhwzsSsl9UbSdLAV 7URQ9LktSpSACGbLyNQd1EThrprcZJIuCE+EBrTfSWr4GJxAqPN1RSnE7kB8Y32YF4dJ EA0fS+0DBnPxWQdCX4CcBEV5BKgYd1LD+yzpLPZzCOrtfgUEWtaZHcdS9CDhSL66bGbE xSrqQYSj1cd01LZ2tye7md5xb8G1QCDm7CIU1MJU+fnTFJu2DgvWN2DUqp9MvJ6862WT nbjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=U4dAz5Jv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t144si6426444oie.129.2020.03.30.16.47.22; Mon, 30 Mar 2020 16:47:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=U4dAz5Jv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729460AbgC3Xpz (ORCPT + 99 others); Mon, 30 Mar 2020 19:45:55 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54984 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729358AbgC3Xpv (ORCPT ); Mon, 30 Mar 2020 19:45:51 -0400 Received: by mail-wm1-f67.google.com with SMTP id c81so629518wmd.4; Mon, 30 Mar 2020 16:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5uzSi9/VYcTraEBB9HY7h/rXS2xZdLMR03bizri5gj4=; b=U4dAz5JvC5Fm0PIcTcWwiVNghqf0QdYuFyDYQm3OPsDtjHrCfMpE46Qo7orMdSK05Y P5DXJy38lM1lC7YIgMPBGH16GG5xBtNDRcaO6VhqWdmxtggajwky/+qcHKKF6NYHg00G W9dFPn3vX5HJ5BC7X8j9SbXwS6bz5LpzRR4vsM7CdR1Yyyr61PXhKsAsfJFGgRFavQaF EZ9CIwME/Ja3sdR3Y3OZLi5gA0KPfwcKI1DMz0CqjqajGHI5/TQsHPOpEJQX0P7FH1xD 51fdQHUq+OFjP3ufeY+q8KJZYGaed/SA62fyiiORqKhq8vCQbVrEpKBxkAZ4+oEyOazH ZXnQ== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5uzSi9/VYcTraEBB9HY7h/rXS2xZdLMR03bizri5gj4=; b=WxaEkxFQCTKSdfaJCXGIdjxg1OqNswcnvlTjAsAxmRLvHDc8QiYfx4IV1f8TS0PMly at9uXGcLepjUtouOiRudcQkj7cR76x7DyjlfLQ+ABRNeQcIm5FrKWp86AamHy730hJjA V+xmpS1A5NRKT6tISUbsRzK7wCC1JZQxa/wUyfhZVDA/a/Po2XNyOVZEMD+GaV6OvD2z iqZdIoGzFY2/yoq7dEO79Apgtqu4PadA1ImWz20XM1a5vGBlYEzgpNgH9e6lKXBPI7P/ mK7KYPsmFGzkS/n7MDSstI/8yOsU+2FUZJfXZgrlpLrcFdwAdI166GVyN6fuwca2EHjS iwqg== X-Gm-Message-State: ANhLgQ1FVaA9sqAZfQkaRtX7HPl7NPsqaIPmrvyy24x8Z7aUuc2o0EDv SGJxbLesKAp9Is5PefTb6G4= X-Received: by 2002:a1c:2484:: with SMTP id k126mr575356wmk.52.1585611949773; Mon, 30 Mar 2020 16:45:49 -0700 (PDT) Received: from localhost.localdomain (p200300F13710ED00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:3710:ed00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id v186sm1392953wme.24.2020.03.30.16.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 16:45:49 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, jbrunet@baylibre.com, narmstrong@baylibre.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Martin Blumenstingl Subject: [PATCH 2/2] clk: meson: meson8b: make the hdmi_sys clock tree mutable Date: Tue, 31 Mar 2020 01:45:35 +0200 Message-Id: <20200330234535.3327513-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200330234535.3327513-1-martin.blumenstingl@googlemail.com> References: <20200330234535.3327513-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HDMI TX controller requires the hdmi_sys clock to be enabled. Allow changing the whole clock tree now that we know that one of our drivers requires this. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/meson8b.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index 34a70c4b4899..7c55c695cbae 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c @@ -1725,7 +1725,7 @@ static struct clk_regmap meson8b_hdmi_sys_sel = { }, .hw.init = &(struct clk_init_data){ .name = "hdmi_sys_sel", - .ops = &clk_regmap_mux_ro_ops, + .ops = &clk_regmap_mux_ops, /* FIXME: all other parents are unknown */ .parent_data = &(const struct clk_parent_data) { .fw_name = "xtal", @@ -1745,7 +1745,7 @@ static struct clk_regmap meson8b_hdmi_sys_div = { }, .hw.init = &(struct clk_init_data){ .name = "hdmi_sys_div", - .ops = &clk_regmap_divider_ro_ops, + .ops = &clk_regmap_divider_ops, .parent_hws = (const struct clk_hw *[]) { &meson8b_hdmi_sys_sel.hw }, @@ -1761,7 +1761,7 @@ static struct clk_regmap meson8b_hdmi_sys = { }, .hw.init = &(struct clk_init_data) { .name = "hdmi_sys", - .ops = &clk_regmap_gate_ro_ops, + .ops = &clk_regmap_gate_ops, .parent_hws = (const struct clk_hw *[]) { &meson8b_hdmi_sys_div.hw }, -- 2.26.0