Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3251634rwe; Sun, 16 Apr 2023 15:39:30 -0700 (PDT) X-Google-Smtp-Source: AKy350aNl39CEZ46l9xEXMOuXJEjzfG7/dVhDLUuuBn65+kLJ1llLwbfjPI3qd9tVDSq/ASKPWOd X-Received: by 2002:aa7:8383:0:b0:635:d9e1:8e1e with SMTP id u3-20020aa78383000000b00635d9e18e1emr18433339pfm.11.1681684770016; Sun, 16 Apr 2023 15:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681684769; cv=none; d=google.com; s=arc-20160816; b=nLGxTz3Jl3XH90nHQdLLIunBpTd42hkqmYyzcg9Hpl+1XBDTiFhVB8d6Ak2DnWDGA0 coJMom8mV1ZH3wQ+1tBTlGkehCJmITBRo7/L6Yz3lmWNwvtB44GXQ5Hv6SCdQUZTcXe5 2htMVGEBIaba5NonzujYIz/0tyqQbZkkQP5vqOw4QhWMBsCosTP3P9TVUeQtDvxByUVL K5a3NeMi0Lymy0myyfa1reYasUCUpijtlutmHnSau/cMj60+X5z+1IR+GEgjO+ymvf1F 18dUu9BXoJFFu9oiPOgTlo2kYYu+rw/Y1iaypJwV0+pn3Oe0PcZM5NTflq4vVvKVmH/t h26Q== 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=7PbI+KkaZZTLDdNEdsw5NBsMDYvFroQp2MXTg73mOGg=; b=jVL/UjJadhMvf9hH/LjgOBW0+ZoXXhkG+yuEIZM1tRdWbTP2i9vZ5dDEtwtwTHHwVO DyrWTfZnwL/lHgbFGjxmwHKF53/1qE3GnbtHw+5oJCVlsLTvGruZQ74P4lTpaAgdOd9u i94iuW0Z8W6q6UCFDXVYW9EACRBbR9hp1P2sl0O5uuK9DfTBzb4p33Z//neNXqO+VoAR 2Fvz/qZAMho9cuHaJkL1m1jJWtxYL8dravGvwkt7FERcLom9hlK92SaTQrNzlHuLwC+L t//yB4jE9goFNEZIxKJLC3EXyLt4t6wiLAj6wuLjH5G7xSN2o41kQ41pnEjigRX/NVDN Sb7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=ZhDuNUxN; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u184-20020a6385c1000000b00519b091d084si11082422pgd.19.2023.04.16.15.39.15; Sun, 16 Apr 2023 15:39:29 -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=@denx.de header.s=phobos-20191101 header.b=ZhDuNUxN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbjDPWNn (ORCPT + 99 others); Sun, 16 Apr 2023 18:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjDPWNm (ORCPT ); Sun, 16 Apr 2023 18:13:42 -0400 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CFA1211C; Sun, 16 Apr 2023 15:13:41 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A167C85D46; Mon, 17 Apr 2023 00:13:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1681683220; bh=7PbI+KkaZZTLDdNEdsw5NBsMDYvFroQp2MXTg73mOGg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZhDuNUxN0+2P/RHekLgAnF5qlsp1A87kFpzFMpmbmp41IS9MMEMGyOqojc8s748ZP XGjFD+cIhvShS2Zk7a2HI2lQ27ZhrQsQCe98sE0ojdnwZwdnFTqGL/jzWBC0OujrjK NAeJlQmIom2f1mo4IY0l3URQef1vvTAyIbCIZxMgO1m7XPQ9HK0nSH61dfkfiIOJLN E/T7WImkN94KuKPwH/o2tSQrlN2As1EzxtzyHvv0fQbUfeHtKDQKIPdjDiSRv6iSBA W4OSgbe3R+wBRnfSHlIwHBFTUnpMnTZq7omK4NJ1Pdron0TF8WTvBlGt+Btw/mPciC je+xh+pCueseg== Message-ID: <807aa6c6-bbea-abcc-172d-17e22d1a3988@denx.de> Date: Mon, 17 Apr 2023 00:13:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 5/6] drm: bridge: samsung-dsim: Support non-burst mode Content-Language: en-US To: Adam Ford , dri-devel@lists.freedesktop.org Cc: m.szyprowski@samsung.com, aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Inki Dae , Jagan Teki , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Frieder Schrempf , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230415104104.5537-1-aford173@gmail.com> <20230415104104.5537-5-aford173@gmail.com> From: Marek Vasut In-Reply-To: <20230415104104.5537-5-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 4/15/23 12:41, Adam Ford wrote: > The high-speed clock is hard-coded to the burst-clock > frequency specified in the device tree. However, when > using devices like certain bridge chips without burst mode > and varying resolutions and refresh rates, it may be > necessary to set the high-speed clock dynamically based > on the desired pixel clock for the connected device. The link rate negotiation should happen internally between the nearest bridge and DSIM, so please add that to DRM core instead of hacking around it by tweaking the HS clock again.