Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp260522rdh; Thu, 23 Nov 2023 03:23:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9GwcTshFdtP+TPa/rj3SymavlLbSTbievuuAZxAVOPU2KQvjV1WdqGoKJlCypDC3cZnh5 X-Received: by 2002:a05:6a20:3887:b0:187:e71d:ab41 with SMTP id n7-20020a056a20388700b00187e71dab41mr4079208pzf.19.1700738585639; Thu, 23 Nov 2023 03:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700738585; cv=none; d=google.com; s=arc-20160816; b=b7nOs5RQw80NHIsDkk7VI/aqFArsdf1U/xIJoQfedvD1pKYLKblUrUMfp6WImwI2af UqALEHI+Vpei8bNChgPXhs4siuuzDmis410hgIrFxOy9dU43Peiemu/Lgjw3C1v/88rc jA9EnUzNwjJqJR9wkM+N6OBfyb9+5KsktMJpsqw6Syemuf1/VWgwPaZ6Kk6CsID/qyvV 4lmZu2FiVRvcYLUN1nebnUIUqIvXKvxmamgBitgWMAzQ+/9dc/Xacj5OAlm54muMdByX 7HgnIuELi1CDQ+j+bA5ITccr30BOGLLE+zz3wr5JgS25pQZRfq/BCp6+LS0Y4urEaiH4 Tgjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+ELdqRoTSMAUd+24yaf2NGAffesSeiPknd49OSHfrO4=; fh=YHp6gyarsykicOpKhUdbVpftGO3GRR3DKdSxkLqXpZ8=; b=b9WG83GKulx2hDmA8Xo0coIHg6PwQ7DALotdyJDymU8QEV6SJTQuaszKoCnZvGWFAT TL+k4Fui298yvec3/sxjpbDhmDGTOx3Eh5s7fA1BIeR28oIgXhBTPa1wsulE/Bs3UxoX lu4hQ7v5Ku6XaG/IcTPBF7Vlia87zoBl8bSyae3IxqQGYMfjgZTYUgASu+jUwc5UAuLw naWcUwdgWKrsKpUjRW0h+FlvGH5LHufQor93f+JG7IrQw7yqIsNt54NNFJPPQwF5EQM8 yVxk3Kb0iEsWUCFoFCX38pFwRaxAw+AH9I7yMJl6v9zHHykhp25A+AYX7qzOlzmuMJFZ Tq+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=R0khKwsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id y31-20020a056a00181f00b006c4ddeb9694si1092121pfa.229.2023.11.23.03.23.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=R0khKwsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F0A998028F8A; Thu, 23 Nov 2023 03:23:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345032AbjKWLWp (ORCPT + 99 others); Thu, 23 Nov 2023 06:22:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345029AbjKWLWn (ORCPT ); Thu, 23 Nov 2023 06:22:43 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C28771BD for ; Thu, 23 Nov 2023 03:22:49 -0800 (PST) Received: from [100.107.97.3] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C56506607399; Thu, 23 Nov 2023 11:22:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700738568; bh=OkyzQvoiFclRgAoTM1AiGV82e8sHB39X1+ZjadvECzo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=R0khKwsWt3lwNKJWrAnDwzSZMGlJ2CZr1mfieF457KHg8M2u10AApdi7aCTdhWxia sR+b01+dEi4m335oJSFDxBu7pErCuPFIQJnd30nz2nQLH54PAv0TWSKcn5johqRKH/ rjk7bFHkjlOoCKtDqj4ELeJFfXsXz0T72AO/VWIN4wboepHbx1yKLnOQGOWXhGrt7U 0DbUgn9wZq4z0v8pDNFfkXJJjyOg638V6EogkEm5OlkB6X4qRgqxtJ+7E1DWh7hjR3 2gr73sRiTiUMtH+aFOR0zobUbh64FMV1u4HljPYypautYh3aC/cHoW8Esh9mDbc19L og3Pr5e8WEf4w== Message-ID: Date: Thu, 23 Nov 2023 12:22:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] phy: mediatek: mipi: mt8183: fix minimal supported frequency Content-Language: en-US To: Michael Walle , Chun-Kuang Hu , Philipp Zabel , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger , CK Hu , Jitao Shi Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231123110202.2025585-1-mwalle@kernel.org> From: AngeloGioacchino Del Regno In-Reply-To: <20231123110202.2025585-1-mwalle@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:23:03 -0800 (PST) Il 23/11/23 12:02, Michael Walle ha scritto: > The lowest supported clock frequency of the PHY is 125MHz (see also > mtk_mipi_tx_pll_enable()), but the clamping in .round_rate() has the > wrong minimal value, which will make the .enable() op return -EINVAL on > low frequencies. Fix the minimal clamping value. > > Fixes: efda51a58b4a ("drm/mediatek: add mipi_tx driver for mt8183") > Signed-off-by: Michael Walle Reviewed-by: AngeloGioacchino Del Regno