Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1782281rwd; Thu, 18 May 2023 17:53:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KovdUsL0aNq+TcX1jR/FB0CIfbPKSpt83aXlZhBfdHk4rUXiuMwHAQ4VtRsuzzmrxoHeL X-Received: by 2002:a17:902:c20c:b0:1ae:29a8:d6d0 with SMTP id 12-20020a170902c20c00b001ae29a8d6d0mr828403pll.59.1684457603978; Thu, 18 May 2023 17:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684457603; cv=none; d=google.com; s=arc-20160816; b=AUp4D3lRcXDuXzwCSHaN+r2RmF1TNOteQVX4rShYtbjO7TXb/nwilo512HQaZJOaQK XP6TcFCEdsBfraAyMIdNoodhtaubAEolAS9cO2tMICFQpWsTWWEmcUUh9cxJOzbLKL3Y zUJWA0PQO5SQAobx0FpFr7P/8uu3unJ5KhyNJx1pT7npWpwM+566mUsquiicbS9JMZHJ D3p26kn4PJ6EcCebhp5NyYrq100+9Web2djUbr6F7Tp7dmCNexN866KWB1Ea+ZTI2u6f PlY0wa0jCiY6dce1Gun17cCkRI4QZj8TUBVTN0S7XAVZDOduypL/VnKIXZ84f8wf5dmF zImw== 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=Pr3i+0Z+ZK4Cpnq2h97UEX/Scj/M44+Ofcjn0kFKHFs=; b=zf4m40HUFyy0K3OiCI0z7HAQDPiWyf6dBwzG2Mwte3X8szE9rCF9lLwoUmIccvIRCX ijtV0fIgzrQvskaF37CXbAoqhvMPckzV3bUcCN/In7FswAezu/kSAaZvQuhX7ULySAw5 B5tUyEg3qZ1NTeL1pxH75WEQjw4q+bPeBF+voliJ3mC02hMHgZZZrlS/pfbwzaJ7oAp9 64wLucFabwPsUjSN1MxKkepL7az/sf8sQ8osys69Iy1l/wb7zylq9OlmuHZUSCMW066q E1oMD232qGDrVhXxGBhXYa2D5+V8mE4uc+0XpW7Rs5VMcdkJ56zv6lP+F373M7doQQs4 DbBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=mPAnsbEX; 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 j6-20020a170902c08600b001aca056bdf9si2531356pld.33.2023.05.18.17.53.11; Thu, 18 May 2023 17:53: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=mPAnsbEX; 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 S231307AbjESA3w (ORCPT + 99 others); Thu, 18 May 2023 20:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbjESA3v (ORCPT ); Thu, 18 May 2023 20:29:51 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE47E10D2 for ; Thu, 18 May 2023 17:29:21 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5344d45bfb0so213370a12.1 for ; Thu, 18 May 2023 17:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684456155; x=1687048155; 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=Pr3i+0Z+ZK4Cpnq2h97UEX/Scj/M44+Ofcjn0kFKHFs=; b=mPAnsbEXf1UYEqdXdn4+wpQQw+xZDdHa0dyi7WxOJXtBiNOaPxQb43QbrVIRmc7CIp 9oPX1lW/Ct+jJb+mKvDH3oMvlChYRxz9uyZ8DWNRH5EmVpvQv7dh7pRngmyXRCd4Ciu+ 9CSylPc+9x+T6uzAdkP/JRGg8aKC/iRzBxvHCtdM1PKBc/QdP7wkMwhBbEizGwxRKC8+ qUDsHWXOD9pXbP4khaGr1xfA7FqdVBi5ZbgLwSFC3+Y7hfL8UEBOd7KIOxgGipwdkEyC e8T+H6lBHZFHg6ATlhwdTEp4tDnI2GuMgZWIGpFzeXAhZSLZ6/lzwTdbOZHJzVgFGpHL n1hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684456155; x=1687048155; 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=Pr3i+0Z+ZK4Cpnq2h97UEX/Scj/M44+Ofcjn0kFKHFs=; b=S4g440efAwwzxwY934GGa4YLQHPJ2DUTuY0u0jhTP4Rcf/tKV9b2poTQtGs9hA92t0 Aphi2Ros2WfAk18gmr6eWq1o/QNk4+d88CrB73OGkd0HeLoB0RZO1W/z8wiluX/btH9c YxEpvl+Dp2UfxYnCd7m/FeQAfpq6j5cangTBlMZNtJT8QgMYdcLWQP5xNWZQ5MLUR3SX 45EBItpfc+QkpIvPwvGVZlV6Ob9M3HtdpjUpoZX9UdXtLGiFB2iz7p5KVOHbQnHilm6C PbecqP3GhkSoEF1xt62YC0+/agCmSMVUPWv5G6ynqRF8YgIgS/Gc74V1WkWzeY1SKU9s UNMg== X-Gm-Message-State: AC+VfDx4tI7VzweojWGCR4b4+zCp0By8xGRVbVwKHnequrANoqLDBm5N pvuC7JRZRNiuZj/UnPcr6KjfxywgFHZZmxvFNU8= X-Received: by 2002:a17:90b:4c45:b0:250:9af3:4f89 with SMTP id np5-20020a17090b4c4500b002509af34f89mr469279pjb.4.1684456154724; Thu, 18 May 2023 17:29:14 -0700 (PDT) MIME-Version: 1.0 References: <20230518230626.404068-1-aford173@gmail.com> In-Reply-To: <20230518230626.404068-1-aford173@gmail.com> From: Fabio Estevam Date: Thu, 18 May 2023 21:29:03 -0300 Message-ID: Subject: Re: [PATCH V7 0/6] drm: bridge: samsung-dsim: Support variable clocking To: Adam Ford Cc: dri-devel@lists.freedesktop.org, Neil Armstrong , Robert Foss , Jonas Karlman , aford@beaconembedded.com, Jernej Skrabec , Frieder Schrempf , Laurent Pinchart , Andrzej Hajda , Marek Szyprowski , linux-kernel@vger.kernel.org, Jagan Teki , Lucas Stach Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Adam, On Thu, May 18, 2023 at 8:06=E2=80=AFPM Adam Ford wrot= e: > > This series fixes the blanking pack size and the PMS calculation. It the= n > adds support to allows the DSIM to dynamically DPHY clocks, and support > non-burst mode while allowing the removal of the hard-coded clock values > for the PLL for imx8m mini/nano/plus, and it allows the removal of the > burst-clock device tree entry when burst-mode isn't supported by connecte= d > devices like an HDMI brige. In that event, the HS clock is set to the > value requested by the bridge chip. > > This has been tested on both an i.MX8M Nano and i.MX8M Plus, and should > work on i.MX8M Mini as well. Marek Szyprowski has tested it on various > Exynos boards. > > Adam Ford (5): > drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp] > drm: bridge: samsung-dsim: Fetch pll-clock-frequency automatically > drm: bridge: samsung-dsim: Select GENERIC_PHY_MIPI_DPHY > drm: bridge: samsung-dsim: Dynamically configure DPHY timing > drm: bridge: samsung-dsim: Support non-burst mode > > Lucas Stach (1): > drm: bridge: samsung-dsim: fix blanking packet size calculation > > drivers/gpu/drm/bridge/Kconfig | 1 + > drivers/gpu/drm/bridge/samsung-dsim.c | 142 +++++++++++++++++++++----- > include/drm/bridge/samsung-dsim.h | 4 + > 3 files changed, 124 insertions(+), 23 deletions(-) > > V7: Move messages indicating the optional device tree items are going > to be automatically read elsewhere was move to dev_dbg instead of > dev_info. Cleaned up some of the comments to be a bit more clear. > Eliminated a double variable assignement accidentally introduced > in V6 when some of the items were moved from patch 6 to patch 5. It seems you missed addressing one previous comment from Lucas: "Same as with the earlier patch, this needs to be documented in the DT binding by moving "samsung,burst-clock-frequency" to be a optional property."