Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3883940rwe; Mon, 17 Apr 2023 05:09:24 -0700 (PDT) X-Google-Smtp-Source: AKy350aD289NTSqT55pTU2jr8w4N1nChn6p1olR+PODYE/P1iovxfvuezd3Z0sxX9Q/8XVLiFbUD X-Received: by 2002:a05:6a20:12c6:b0:ef:f558:b80 with SMTP id v6-20020a056a2012c600b000eff5580b80mr2928196pzg.58.1681733363663; Mon, 17 Apr 2023 05:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681733363; cv=none; d=google.com; s=arc-20160816; b=Sb7q71v5MDl3elliWk7Bu7e10vUYT4sp7VrlpbQAMBlK33ny8uxM+fklnDO3l/5TGg w8iFkUWwlTZyidNAs8JhyE05zF5khcIXg781brzz4kjv8bI0EyCjzZvrYdwoj1xHXNxS vyIGOpx2fiuyXdF0MCOP9MgbkjKSsYaEGXI3/T1OIIdkUiJMrN3k1I3sucYS1Pr6Qd5t GxfE8YXtGwOWKeMFur/tnXRGA72A8SaY8gzKC7oQobbKzzTsY5DzpJEp8o9y+RoPgVWF 0oZo5mD8hUpe5YY4Uj6z6TFKqXdq0jr05IyJHkAoJN8FpcbVI3FAVQlEBdj/GJroWHzh chng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ByuvqnZ0whBYE58ALvTkPoZXFMoOo3weY1eli1YLs8M=; b=SkAN5hwBjbCI++tmwHOhZDILr4DnPNxXfVrnS839Fyy5ww+vP0G/Sk5yDhN6AfCBhs nIu+lyHh8yBNxHnpAVixQ81JByXo3acSZ0GrtF/sC0romfuYZBTlPkkKZ+7agAO5NWGw ksLi9lCQ2VHF2iwAPWDDezELgGEdXEnxvgAUhd4+sdeEbCFTT0zXM80mr8oHz9rMZSVD hP6fXl4BzrYSQpJ4jDE70bLDUJ0HnolqGRM6enCLVXPidh9dgdZvCW5UTX146XceCbJ5 2l48QE2GbIFgXeZCUiQyj2FMvsbOuIhGA6tZodR0kx4sGbqxFmsAXQgGZF+lpyurFHUu Fp6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ezXmzlME; 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 r8-20020a632b08000000b0051b930d7375si5712878pgr.288.2023.04.17.05.09.12; Mon, 17 Apr 2023 05:09:23 -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=ezXmzlME; 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 S230355AbjDQMAA (ORCPT + 99 others); Mon, 17 Apr 2023 08:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbjDQL76 (ORCPT ); Mon, 17 Apr 2023 07:59:58 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DF885275; Mon, 17 Apr 2023 04:59:06 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-63b620188aeso1247752b3a.0; Mon, 17 Apr 2023 04:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681732662; x=1684324662; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ByuvqnZ0whBYE58ALvTkPoZXFMoOo3weY1eli1YLs8M=; b=ezXmzlMEqu08ohTUCxyWeT1ghxYBInGOWizV/QuxcC3LNYxDh4JflmMdjRbuaKuFEF M3/peUNeBWEFoNGrCMbsDOZBj245P7/NUTnHjRz8dXI8bIdQiWYnK5KwVA7Eqfw2RG/y IMj15+g/R9545qoQEQLdBloLu5S8PqcAuaJA3lC97I6/m2AOugMZBuh0HbYjumTHQNpL ZALVclRThPcEz1Icfh4eP08TGGnFWk+EW52vi9FJR+hNPeiM4l4D/xaMz4GsJGAmmSKj OZ3qvulCfiClhw3EKAQiTh34xSpk3PvDKxCXWzG/BuQPk5qXzXboCa1KB7OeZP+/otqg nDpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681732662; x=1684324662; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ByuvqnZ0whBYE58ALvTkPoZXFMoOo3weY1eli1YLs8M=; b=TD1r/7eQ1j8ai4uIs7pg5XnBQe9Jw6SYAnV6meRbzVE47qi1zkd9C5KwT2gRbrf5uU s228ThKZO7kkWW7O2D/QKG5ILsfKt2VM62tgvRP5Za0skgxeF7zV3zZ6Mk/vXen05zqJ rSNwaTFvH36caPsmdXXtgmj9rI70UudedNCWDBoe7mt2Cdw5jqRCcQk39XOI0NOwbf17 wp6zdwHEP7s6SCu1m7I/RPwnIJkZZEesRrEFigpH7cYPfGzFDzD+sJkNofiI/SEphgCR DWkJBbMOps035k4xJQWRTKBbIylztFfTY9ZVYcDloNWESwJj7JeoYUXFwdAPIUIYMM4n rx8Q== X-Gm-Message-State: AAQBX9eUnvuiw/bXNSc9Qo45mmK7CvS8x/cjWr59edi1kIpms8xNsXWS XJgAUorcPwKW/nwH4Igj2GbDKPdHoVrtc6WY7sE= X-Received: by 2002:a05:6a00:24c4:b0:63b:5496:7af9 with SMTP id d4-20020a056a0024c400b0063b54967af9mr6836463pfv.2.1681732661836; Mon, 17 Apr 2023 04:57:41 -0700 (PDT) MIME-Version: 1.0 References: <20230415104104.5537-1-aford173@gmail.com> <20230415104104.5537-5-aford173@gmail.com> <807aa6c6-bbea-abcc-172d-17e22d1a3988@denx.de> In-Reply-To: <807aa6c6-bbea-abcc-172d-17e22d1a3988@denx.de> From: Adam Ford Date: Mon, 17 Apr 2023 06:57:30 -0500 Message-ID: Subject: Re: [PATCH 5/6] drm: bridge: samsung-dsim: Support non-burst mode To: Marek Vasut Cc: dri-devel@lists.freedesktop.org, 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, Lucas Stach Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Sun, Apr 16, 2023 at 5:13=E2=80=AFPM Marek Vasut wrote: > > 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. I thought you tried to add something like this before and had some resistan= ce. The Pixel clock is set by the bridge already without any new code added to the DRM core.. I am just reading that value that's there, and setting the clock accordingly. I don't see how this is a hack. adam