Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4428678rwr; Sun, 23 Apr 2023 05:41:59 -0700 (PDT) X-Google-Smtp-Source: AKy350aixzv+nlkong6CSWR6dqk1oYwfhpPAA532PnBpXNWKh9Njq7sWvaPV0PIbqoQbddFzxQq+ X-Received: by 2002:a17:90a:1a53:b0:242:d8e6:7b68 with SMTP id 19-20020a17090a1a5300b00242d8e67b68mr9677465pjl.1.1682253718734; Sun, 23 Apr 2023 05:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682253718; cv=none; d=google.com; s=arc-20160816; b=IwsCr35jaaecCMzdFZ71oOs/Ch1BnuLju47miildQoFhe0jvkL6TOOQ0WB39teF6uR 7OpPNg0GaXrKtMei6n7N86XF/OeV+msbyGmEdHgNM3XRJGcsuPzr90RglfqaA2GVS3so 3ve2mwmO1yA5PwC+mUQIPFC74A3lAkDJSRYxX/xD89M6AX28Fyim4prpvANU/8oo4CEl ct7yIb2xL16IiPEt9/6lB6pxYSEgN7k5ufeRQIYgM95TUX4E5JxstbbWZAhsgTjGberp o5bqUeUdiOATdiXMd6jK2i86HO4vehL0OImG6fQMX9uvpkA4I0Ul4Q1mNCQgzMnrmTQv fZeQ== 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=omxlpIKXp/6w9A8kSumpgR4tKNK9oDvDPvxcZqTnkYA=; b=ZuIk7S6k3KrDlUFcZh6E8PJOw51Ov6qYQ9PSHJ+cpbhVUZOoGwvcQoxtU7EaqMZRDA UQn2+WKkI1I8ZGnXMEu0CxvHSTcBNihn5q5myl17B826+DHNY8NUFKI7EU8X+ZQkPYAY 8ZDbWNkptBH4xWPs4ntu6Pbsk3En+qHQV4zw3/3zq8Y3KLWzQGOLxLm5UDZI2V0ltszb wfIlP9wglz9S/Fk1Deh/LCsMoDUSXaufDoXO1r4Fs3vz/6mRGnIsLFvecV/8uo9IKKaC sru1NFhPgzDK5BG+T29G2k7hn2q7PRqez96fbujqNrUVOyoYYqewOd9uILDz1F99fyuK 54dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="K/0OStf1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170902ea0400b001a647aadbeasi10020443plg.416.2023.04.23.05.41.47; Sun, 23 Apr 2023 05:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="K/0OStf1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229580AbjDWMih (ORCPT + 99 others); Sun, 23 Apr 2023 08:38:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjDWMig (ORCPT ); Sun, 23 Apr 2023 08:38:36 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A36210E2; Sun, 23 Apr 2023 05:38:35 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-760f8ffb27fso78792539f.2; Sun, 23 Apr 2023 05:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682253514; x=1684845514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=omxlpIKXp/6w9A8kSumpgR4tKNK9oDvDPvxcZqTnkYA=; b=K/0OStf1AOLqMh4auNrV50Msgv/QyxlPG2TLzBqbRXPCUfpPOw5xbqGJWIfGF81YcS Z3Oi+kk/pquajapZJP6Oabu/eUkPRHfi1+boSiHZ7r+XkDa3KvQzywIEhStm30Ketd89 gUszwtJfNyCE4fIlLwG0cCWgF8idwPzB1XqMMBBZWzp4ddWfmPLyerGv22WtpPxsx2fH oXBWt1jjGcaAzqysyH58AaUVuJnMK1h1z2w1iE2GQCP0TfCg297VTdLYUS1EeJ+A7p1/ aBzHCFDClNfjoV+H50JKVhBeq4/0Ttdhg/kkTnq8wsi3DuqK+FOclZ3MZsZtw4LfFFCf kYzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682253514; x=1684845514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=omxlpIKXp/6w9A8kSumpgR4tKNK9oDvDPvxcZqTnkYA=; b=RqXmoza6CyTjiAH6owkvl/C2F02lbIi3q8wG6dUFn2Cj9yNsq9cgcN0+2MgqCnyhg9 NnSOazWbze1x2QCY/XfBfoSHZflKoiarkJIY/HbHvGT35cx4RQT+YgVMdh+H1K3gcCDJ rnPCt62b9WyEvrkJhYEura9K/ZgKcD0KYJxwSpzWVXqyKF//z8JQ/02WbaPihdkjBOT5 f0pSFhKTmonia53ifPMUimOCjAUxYVMz8+Fetmgwot7ug7c4oHaKry+YGb6VdX1uGuFV zILzOPjk1P+gmtwYbXhioXoAldWFHpBz6UnpdExR3A5q6VlkXA2tqGIzXTZ0nRk3PKqw h0ZQ== X-Gm-Message-State: AAQBX9dCJVtmQctWH7i+ru01FhvkAgYJF5kDapioXUzodt0pQVNl89s1 MkM8LHd/rL9V+hlTPfjPolCnpANi5PWrTQ== X-Received: by 2002:a6b:6507:0:b0:760:f887:7553 with SMTP id z7-20020a6b6507000000b00760f8877553mr4196958iob.2.1682253513943; Sun, 23 Apr 2023 05:38:33 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:b473:5d7c:4c2:75d7]) by smtp.gmail.com with ESMTPSA id i25-20020a056638381900b0040f8b6933f0sm2532203jav.74.2023.04.23.05.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 05:38:33 -0700 (PDT) From: Adam Ford To: linux-clk@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] Revert "clk: imx: composite-8m: Add support to determine_rate" Date: Sun, 23 Apr 2023 07:38:27 -0500 Message-Id: <20230423123828.1346511-1-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 156e96ff2172518b6f83e97d8f11f677bc668e22. This patch was found to cause some division issues on the i.MX8MP which causes the video clocks to not properly divide when division was greate than 8. This causes video failures on disp1_pix and disp2_pix clocks. Until a better solution is found, we'll have to revert this. Signed-off-by: Adam Ford diff --git a/drivers/clk/imx/clk-composite-8m.c b/drivers/clk/imx/clk-composite-8m.c index 6883a8199b6c..cbf0d7955a00 100644 --- a/drivers/clk/imx/clk-composite-8m.c +++ b/drivers/clk/imx/clk-composite-8m.c @@ -119,17 +119,10 @@ static int imx8m_clk_composite_divider_set_rate(struct clk_hw *hw, return ret; } -static int imx8m_clk_divider_determine_rate(struct clk_hw *hw, - struct clk_rate_request *req) -{ - return clk_divider_ops.determine_rate(hw, req); -} - static const struct clk_ops imx8m_clk_composite_divider_ops = { .recalc_rate = imx8m_clk_composite_divider_recalc_rate, .round_rate = imx8m_clk_composite_divider_round_rate, .set_rate = imx8m_clk_composite_divider_set_rate, - .determine_rate = imx8m_clk_divider_determine_rate, }; static u8 imx8m_clk_composite_mux_get_parent(struct clk_hw *hw) -- 2.39.2