From patchwork Mon Mar 8 17:18:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 12123029 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10625C433E0 for ; Mon, 8 Mar 2021 17:20:38 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80E2F6522C for ; Mon, 8 Mar 2021 17:20:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 80E2F6522C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RQ2UKmBMtvTqCui5Q8A0LwJLN/70xF5cIj0s8JhbxqY=; b=ZhAzhCuRRt/SxX23oRXVsGS98 tgrTq0wQplGyOj9/4rL/mBFDPi2omTW+EeUDoZEk6zKRXdPRr0mzFhJr4NocuavdFBCr24Wnj6qQG QCRmkI4bSpNboyHBGimzCQW3oRM3/RgL9qjQm/RdC8MznUjPbS3rLSzxhDrbIPqfZ6Vm+EN5gqYG1 A8pvSK/akw+4eTYaD9zxF7Z838ueYbeMjTkqTS4/odj4S8Yanttq9FAJ5bXDWIoOKH1936fw6pfHp vjLyMc03iqUavqB4ILjHna/FIvU1We4h6+2VXv+2oXCveW9NCU1blQvV/vgD/iQKyO0YKXLGM+Cdw zh4yqtTvw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJJXA-001Jpy-1O; Mon, 08 Mar 2021 17:19:08 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJJWk-001JZX-1a; Mon, 08 Mar 2021 17:18:44 +0000 Received: by mail-ej1-x62f.google.com with SMTP id dx17so21917482ejb.2; Mon, 08 Mar 2021 09:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RYsjPradGS8ApOPyI0o2lRWvUZqCfCUNgbBO342kp4Q=; b=WFVDT5yLvxXAwsyNBe5017cELXgSwobsqxLtI0ALi9P7YAmc7XBwB0th17LXaLunBf P9fxgX4AvBZtq1g4Nf5j5x6uXTWC0Beo/qC5XrwVyknkSP5VGiUJVNLnoaOwC7topATX tvZFMvD/X35InooOJDakHU5BvAC5XjGHyWq9lPA6rhDySRI13rvP/yRz3hEQkT2OLHKI YGV7y4O2fko4r1jZYVI1OvT9bJAFqtxGYTSCnn8QaI/P5dVtNlPbeqwE5GGRVVH2QX7k wqn+2fERuy7TAw6zn9klJP5SVCIHKHt5YVon7Yib5chHjPEv+/oxMeYt3zUbKupQjywX dAng== 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=RYsjPradGS8ApOPyI0o2lRWvUZqCfCUNgbBO342kp4Q=; b=anagpLbXwqQbFzDorkK/rTlPHWcIH4s/UJUcw3zKjhyJZ42l01d26KaqiTktJHX6Ms 8XcpFdWydRXpvgToSGfZDnMH4Yw0b/MkFcrbQCo1mFTstix2DGrCMLEvLqRgobxN7LDZ FH45s+weTe6W9qUnfbgxSiAyh160ZD0ttuvKm0m56RCt1WmrYTk9D86svKLXfE0sjJsN jXOJjf9VUF3VuUTn9FDedCzbho5/wnNllRhJnqyg4hk1obeQ2KFfjJqiN759sCS3SDx2 bvbI6kSL5Or+zM+di5dW9n4Qbqc2qBYIKlMuq6c/1xbHAdkY9WLTqixBOSGMdr5VkrX+ TxnA== X-Gm-Message-State: AOAM533Xxj1484LEn4Njl1PjlEUXvkCy9d/xoHEAzXKKEd8zn0MY/NJN YOjTnmrTVJwvlfBRAq5vg5w= X-Google-Smtp-Source: ABdhPJwOXycXsakFZ72cmFhDJv2CT4lqQGXyjHAmlC9rE9RmeAhJg7UTiveMAZKyG17GFOGn7fRiAQ== X-Received: by 2002:a17:906:90d8:: with SMTP id v24mr15741412ejw.547.1615223916111; Mon, 08 Mar 2021 09:18:36 -0800 (PST) Received: from localhost.localdomain ([81.18.95.223]) by smtp.gmail.com with ESMTPSA id r5sm7457714eds.49.2021.03.08.09.18.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:18:35 -0800 (PST) From: Cristian Ciocaltea To: Stephen Boyd , Rob Herring , Manivannan Sadhasivam , =?utf-8?q?Andreas?= =?utf-8?q?_F=C3=A4rber?= , Michael Turquette , Edgar Bernardi Righi Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/6] clk: actions: Fix SD clocks factor table on Owl S500 SoC Date: Mon, 8 Mar 2021 19:18:27 +0200 Message-Id: <973b08fe414321ba4ade096a4917cadc2013426e.1615221459.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210308_171842_982888_4D424698 X-CRM114-Status: GOOD ( 11.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop the unsupported entries in the factor table used for the SD[0-2] clocks definitions on the Actions Semi Owl S500 SoC. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/clk/actions/owl-s500.c b/drivers/clk/actions/owl-s500.c index 75b7186185b0..69cd959205f5 100644 --- a/drivers/clk/actions/owl-s500.c +++ b/drivers/clk/actions/owl-s500.c @@ -127,8 +127,6 @@ static struct clk_factor_table sd_factor_table[] = { { 12, 1, 13 }, { 13, 1, 14 }, { 14, 1, 15 }, { 15, 1, 16 }, { 16, 1, 17 }, { 17, 1, 18 }, { 18, 1, 19 }, { 19, 1, 20 }, { 20, 1, 21 }, { 21, 1, 22 }, { 22, 1, 23 }, { 23, 1, 24 }, - { 24, 1, 25 }, { 25, 1, 26 }, { 26, 1, 27 }, { 27, 1, 28 }, - { 28, 1, 29 }, { 29, 1, 30 }, { 30, 1, 31 }, { 31, 1, 32 }, /* bit8: /128 */ { 256, 1, 1 * 128 }, { 257, 1, 2 * 128 }, { 258, 1, 3 * 128 }, { 259, 1, 4 * 128 }, @@ -137,8 +135,6 @@ static struct clk_factor_table sd_factor_table[] = { { 268, 1, 13 * 128 }, { 269, 1, 14 * 128 }, { 270, 1, 15 * 128 }, { 271, 1, 16 * 128 }, { 272, 1, 17 * 128 }, { 273, 1, 18 * 128 }, { 274, 1, 19 * 128 }, { 275, 1, 20 * 128 }, { 276, 1, 21 * 128 }, { 277, 1, 22 * 128 }, { 278, 1, 23 * 128 }, { 279, 1, 24 * 128 }, - { 280, 1, 25 * 128 }, { 281, 1, 26 * 128 }, { 282, 1, 27 * 128 }, { 283, 1, 28 * 128 }, - { 284, 1, 29 * 128 }, { 285, 1, 30 * 128 }, { 286, 1, 31 * 128 }, { 287, 1, 32 * 128 }, { 0, 0, 0 }, };