From patchwork Sat May 15 13:12:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 439436 Delivered-To: patch@linaro.org Received: by 2002:a02:b78d:0:0:0:0:0 with SMTP id f13csp1153334jam; Sat, 15 May 2021 06:12:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXRDSn8pi0C+UaulvT9vITc6ccb7K7sIKuoedH6zelf3GmqmZv5JAkj9bS2LEvbko/HXZN X-Received: by 2002:a17:906:1110:: with SMTP id h16mr36650307eja.530.1621084349141; Sat, 15 May 2021 06:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621084349; cv=none; d=google.com; s=arc-20160816; b=KaffqxKSknl5AOO6HbaTQ7XhDcay9r0JinRc4hb/hLwpJ0G5FNB5vAM50F+v2KgjmD KObHGLowVknLqUVOuN5NbN4JXbjCtfOykBGJ2JGtswz/u/mZxHGi5XNPeqQ2nIzBsvlm xja/TQ0QNf1opNzE8/D0tUUoJFHIHDvxaEWs0/PCMNUT5w81jJsH8+PAsPd7jKf+70aQ 2gZgVf1QpNyW5pxSHnJVWwuLucuQnGt8G724Okh1If1T0OClb1KLByMuZEarDx+zgoNK V6jnFsPB9YxR8BqDflUFLa8LCWbwiYB1TSmFEXzNW8werDA0dJ8wPzMeH77xqYxgkfRi 2o8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LWOuVSzGe1Bg26jle07IUN3g0HLvecdChr8/TDnFdlY=; b=waN0p171ZzYgKM309aughAEQ68SDqndJPwj1CrxX/0rOJJbuFjEW+qdBklOXCNzKLs jIOlHh1bxgkG6c4L5AkzNAy+yWwNL0O4L18SCXHDnd2M/VjUBlfGP7voFCnnF40nHSRA ohaIrs78ya3NRyD8h5tAWbnk5i+mKUNLB81p40dy9u+/Q8oMOCKLoorQoAEj1NW3vnOk Byij6fFsPfEa4vAiwnXMj/du0Y310ZdHh3++bZUCvVP47kYbpyn+AzBs8NAijbCszv4C hNBeJV+wZpyOP7HOre+j60SzNOt/4JX2tnrVY3urQl+ytYATcptbOYGYUHida0iaKJ8c RN+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H+z4a92e; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si8753738ejq.725.2021.05.15.06.12.28; Sat, 15 May 2021 06:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H+z4a92e; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229939AbhEONNi (ORCPT + 17 others); Sat, 15 May 2021 09:13:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbhEONNf (ORCPT ); Sat, 15 May 2021 09:13:35 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2074DC061573 for ; Sat, 15 May 2021 06:12:21 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id h10so2248511lfm.7 for ; Sat, 15 May 2021 06:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LWOuVSzGe1Bg26jle07IUN3g0HLvecdChr8/TDnFdlY=; b=H+z4a92eObirfZs9Rrw4YwnS68iESpzRiCtDReEgj1k7MxdyuNxCg2L2I0HOkmVJfJ hAvQHYeffSZ+QeAMyUcCde46l1oT8Vge748UzkOMxCV7reajxzwm+8ecdcjlBSCqzId+ vIuoMZp8mBLx1Secl7w5ZjTFl/wRaZAeLi4LR0PvdwrVK7bGEJ3BGTgVRPwMPKt3XpLt m7fWPhYd4gdkHpkZdqsU05bijiI+a634UQYzfanMNYwyukZcNTzgsyG/Q7OJ4zpYxouS cb4E3xm1uzWZ+0OCLEyHD3hDtfQlF234YUsk039FBr3muK4nA7hthxz1558RK4QzzjZX ltyg== 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:mime-version :content-transfer-encoding; bh=LWOuVSzGe1Bg26jle07IUN3g0HLvecdChr8/TDnFdlY=; b=ECGF9Irn8D22QXbXWEOds7daWNFDdbz7ynUX3sDEtuB8UlaGw+wqbdmfYK7sSXpg1O HPiyEXQTixAZoBIQ2pmBqUpE1CzZy1aLWx0vsMl21OXxbXHVNvGWr6yWilHdp4p7GVlv aBoCOjK5DCd+L1TUkKKGH+yNWhWRA9jHE3Kjg1SrkrXuv/of5I3SQr9f/sibDBeIkQ5b Y9GkwLNsAHVKAyKiG6UMV0y1bnbJp8HisXFSxJMKxblvWVGmr6Xx6kJi4BPEz24C5NrE eiLpGR4DoKvLBS5litiinPpevQ1py6w0KTHAwqTCj/br0XpNgfJReH2CWVAA/RiE3+AT i1lw== X-Gm-Message-State: AOAM532+4ytShYyGtyESwS6iLEJogejtG6etpuDNwYgJFneTXRZhPSha yHh2H3UG1Nh0Had2bC7GEaT+RQ== X-Received: by 2002:a05:6512:3d8c:: with SMTP id k12mr24904422lfv.272.1621084339621; Sat, 15 May 2021 06:12:19 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id m4sm2061865ljp.9.2021.05.15.06.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 06:12:19 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Cc: Jonathan Marek , Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 0/8] dsi: rework clock parents and timing handling Date: Sat, 15 May 2021 16:12:09 +0300 Message-Id: <20210515131217.1540412-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch series brings back several patches targeting assigning dispcc clock parents, that were removed from the massive dsi rework patchset earlier. Few notes: - assign-clock-parents is a mandatory proprety according to the current dsi.txt description. - There is little point in duplicating this functionality with the ad-hoc implementation in the dsi code. On top of that come few minor cleanups for the DSI PHY drivers. I'd kindly ask to bring all dts changes also through the drm tree, so that there won't be any breakage of the functionality. The following changes since commit f2f46b878777e0d3f885c7ddad48f477b4dea247: drm/msm/dp: initialize audio_comp when audio starts (2021-05-06 16:26:57 -0700) are available in the Git repository at: https://git.linaro.org/people/dmitry.baryshkov/kernel.git dsi-phy-update for you to fetch changes up to f1fd3b113cbb98febad682fc11ea1c6e717434c2: drm/msm/dsi: remove msm_dsi_dphy_timing from msm_dsi_phy (2021-05-14 22:55:11 +0300) ---------------------------------------------------------------- Dmitry Baryshkov (8): arm64: dts: qcom: sc7180: assign DSI clock source parents arm64: dts: qcom: sdm845: assign DSI clock source parents arm64: dts: qcom: sdm845-mtp: assign DSI clock source parents arm64: dts: qcom: sm8250: assign DSI clock source parents drm/msm/dsi: stop setting clock parents manually drm/msm/dsi: phy: use of_device_get_match_data drm/msm/dsi: drop msm_dsi_phy_get_shared_timings drm/msm/dsi: remove msm_dsi_dphy_timing from msm_dsi_phy arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 ++ arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 3 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 +++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +++ drivers/gpu/drm/msm/dsi/dsi.h | 7 +--- drivers/gpu/drm/msm/dsi/dsi_host.c | 51 ------------------------- drivers/gpu/drm/msm/dsi/dsi_manager.c | 8 +--- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 46 ++++++++++------------ drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 10 ++++- drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 11 ++---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 11 ++---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 10 +---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 12 ++---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 10 +---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 13 ++----- 15 files changed, 67 insertions(+), 140 deletions(-)