Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3307748pxj; Mon, 24 May 2021 03:48:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweJRFGyA5j/Dpj642H+CMlNzVt6TxGnDAoa+W0/76Cf1R3ik2asjCznKJcLnJnda5hSJ+3 X-Received: by 2002:a5d:9a97:: with SMTP id c23mr15367740iom.38.1621853295722; Mon, 24 May 2021 03:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621853295; cv=none; d=google.com; s=arc-20160816; b=jrQvdznPYZSvsprb5jxs5x3ZcOjh6sSFV9ynXV7rW4nBdpRnlp8qb3TyFZwWmY0pyK AyzYBul5LjShS8CtMt6j1IimuAFhieJCyhqA0IiopbKbdHtwQusHI3UlyDRVts8pwbtS 6rtKOGHUgrlEsz9nKzOw6h9fLHQrTBEkd33hrSL337ZKqhJut+BpHWJsTv2j79DY6dsX ZnmdPHysjNtV1Ni9pFXof+6Jl1JKONAzYjBlkUBj6o0SKxUQbJY0KXnryk1mo86ACiXq /+o71d/83LxLl7I/J3VBODXLn/Z3f62RLJUJLwKgfMTHPIburzkp+WwZNWM6yIF/S+Fk XlEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4uYH7l3s8AJ5oxtod3enPxI8aB3pIk6ye1nfYSwYWoM=; b=BoG3HBGoozEkln/n1QBFzJ6QPTti2+5QCvVKQIaqJUbP6+cN5TtanA2QJCh0RFQhVu H+Ly6I0RJ4fI3/OOdK/mMrBeApncx4YzFvcMEEfr6CLYn1APK+jhGKhyeG25Dd7/uu74 76TakY7/6b+CntRT/0M8ypRnupxlBqoQHawyB4Yw4zcbNGebkEQ9ikHran+tI12LzH/+ /VpSoKPGL39G9f4Dv0/EstKfkcTNq+49mJ6X1gwD0F2+iat3dpt1t/ECAm45Mtzm2HqL WIkDHcewAqUKFvzx5G1lOlkPn+FsTv+Pp0G7qdE0bGzQuP5MwPoHiZJVuBLFp83hM2N6 n2eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=R2Mx72dV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si16041747jak.112.2021.05.24.03.48.03; Mon, 24 May 2021 03:48:15 -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=@googlemail.com header.s=20161025 header.b=R2Mx72dV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232720AbhEXKrv (ORCPT + 99 others); Mon, 24 May 2021 06:47:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232750AbhEXKrR (ORCPT ); Mon, 24 May 2021 06:47:17 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F73AC061574; Mon, 24 May 2021 03:45:48 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id lz27so41040833ejb.11; Mon, 24 May 2021 03:45:47 -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:mime-version :content-transfer-encoding; bh=4uYH7l3s8AJ5oxtod3enPxI8aB3pIk6ye1nfYSwYWoM=; b=R2Mx72dVHtO2EcIknrLn1vIqr/SLh7csM9MpN8Bf5/0hnQL9hOZLwFcKjzZNgR6Z+M oRSAI3YBS7HbIQIQZmI8T7KdMhE0cQpyUyLXQ6arDdZgiqJwDb7TZbBNQNS01jKxKHGC 1yL5//L7ed2ktTYM9SbftynzOwfIfBHFRziby3EtaOP/q466biY50vcAelfeOaLK0066 VDeGyn7xtyepa4HCp6Y9x/VdPur4HE1stAAxAbKw8rbOHBqcKpk/Bc6KD8767zx0/Ggj bCa682m2pMDrYC0Wc88IQM3VDG68yG7TwKqqLjp3r9O/Rwg5Jwy7VL4TGfLKHoE/pOQU D5Rw== 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:mime-version :content-transfer-encoding; bh=4uYH7l3s8AJ5oxtod3enPxI8aB3pIk6ye1nfYSwYWoM=; b=QD/MSoanQkbRTfZ6j+FUC1s88/plGtLbzxDTHT8yflZKH72zi1jTDkoCZbG+Q0e80j iZzOO8HEcMEZBhyiu/VWCtcJ6N7zdKZOTyt/S4KJ4gNz2ILXo3T5Tp6cY2f+sQmLLdPd xMWEVsct3IPEFayfyQNbPs4TgEmXIELuvpIiWG3ZemtSjuB6OuRt735DJ4kSC6kaJ60I GhBXqp6SMnOqb9K1yep38r0r2hBDup2NTx42VJ3XlDoyx8t7HyV1Ccy7TmHhpSOJVx12 nnQpYqRejsBuN6gNeG9XQ2uTqcqLBRoqwDz2YJrjJp+ujuNtpg34BBP66MmW9fs2H8jD bP1g== X-Gm-Message-State: AOAM533bbJCDro+7J0rR/BnSO9OIcg63STTXdSDXLP9NEWaMRaLc1u8G rmFEFShsebEdrFoRIAVbDEp955LA5OI= X-Received: by 2002:a17:906:4e0d:: with SMTP id z13mr23048071eju.343.1621853146627; Mon, 24 May 2021 03:45:46 -0700 (PDT) Received: from localhost.localdomain (p200300f1370a3a00f22f74fffe210725.dip0.t-ipconnect.de. [2003:f1:370a:3a00:f22f:74ff:fe21:725]) by smtp.googlemail.com with ESMTPSA id n24sm9162451edv.51.2021.05.24.03.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 03:45:46 -0700 (PDT) From: Martin Blumenstingl To: jbrunet@baylibre.com, linux-amlogic@lists.infradead.org Cc: narmstrong@baylibre.com, mturquette@baylibre.com, sboyd@kernel.org, khilman@baylibre.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl Subject: [PATCH] clk: meson: meson8b: Don't use MPLL1 as parent of vclk_in_sel Date: Mon, 24 May 2021 12:45:33 +0200 Message-Id: <20210524104533.555953-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MPLL1 is needed for audio output. Drop it from the vclk_in_sel parent list so we only use the (mutable) vid_pll_final_div tree or one of the (fixed) FCLK_DIV{3,4,5} clocks. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/meson8b.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index a844d35b553a..f8bd211db720 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c @@ -1154,6 +1154,10 @@ static struct clk_regmap meson8b_vid_pll_final_div = { }, }; +/* + * parent 0x6 is meson8b_mpll1 but we don't use it here because it's reserved + * for the audio outputs. + */ static const struct clk_hw *meson8b_vclk_mux_parent_hws[] = { &meson8b_vid_pll_final_div.hw, &meson8b_fclk_div4.hw, @@ -1161,7 +1165,6 @@ static const struct clk_hw *meson8b_vclk_mux_parent_hws[] = { &meson8b_fclk_div5.hw, &meson8b_vid_pll_final_div.hw, &meson8b_fclk_div7.hw, - &meson8b_mpll1.hw, }; static struct clk_regmap meson8b_vclk_in_sel = { -- 2.31.1