From patchwork Tue Dec 24 10:12:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 853509 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AE4A1B3936 for ; Tue, 24 Dec 2024 10:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035157; cv=none; b=qIFf7HrrTna93I7F1ftuGPsIOmhnsJn8cyTWBfvnnPmxFKy0O/5NixIoUkVP63D5T8CYxgkgoZkAcW5qSXGeTShV46emZfM/eNz42SSoHtClbAWNT/viXPPFwu2HOO/0XBdrYzXu255EyU6JoItU672XY7lTgMqzQQGYP1SGr9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035157; c=relaxed/simple; bh=Qth8lmPCD2HZ8e7n0fcscU6OItm375v1ZHaNDTxe/k0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m1T3iodypyR4Yn8PEJHJzry7ztXip0Bse9nn4/vnkbvA/XH5z4VfxLKZxPvNkDjhPoE8sQuwkhTdmgvO4DqvcfEOPbXzlLFfLreypUtudUbMjCsMW2drBDnPhMzdBHi2bMgnC+XbpujMOOqx3eHM38SZ7qSLecz/fO0ty4Z4KEc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Cg2NWYcg; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cg2NWYcg" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-540215984f0so5239891e87.1 for ; Tue, 24 Dec 2024 02:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735035154; x=1735639954; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DNv7vuo/nVPsOvSPfX1b8QlBVUPniiNuRCRjr7neK+w=; b=Cg2NWYcgXS3gGV0XjQXFG180zVG7fGlQwQ7A/NkGKIK6x2bqqIZe0r4EBarr7NS2Qe 1SGBfN6bCdWPZdcaumM6Wp0X9KJ48Vsxq79PgiHLwudOssK0nbJMwCPbKU24qk4DYvg+ J7M47zTqVBsl4b1T5pJ5ODxl7LoijkEuPwWxRSp+Ip+tAiAL22xpWDZRi4uBgbPvCalR wfrub/6OpfzrInNMS/SFlkiRI+RzJfJtNpVdMd1aOt6UmCVezGC1JavAmJGXnVHEWFoq 01ie8vIfkyl2pEZxh+6imDuYoUGiac5ZYwqNYC4DZPoZlZLLP+sMk6qMtBy6BGGxwkvk BIxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735035154; x=1735639954; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DNv7vuo/nVPsOvSPfX1b8QlBVUPniiNuRCRjr7neK+w=; b=PyVTFvmT9Gwa+BqfORanRyMQ1/n1s7EsX8RiVNlGUhBC7qZDK0xcxI8O8j7Viz0b9N EvMFaViLy+Egn959gtLdOMZVQR9GEZRUTT15SAvMRSQKFByZcLiDIa3PTLb8g4Zgv8td ArJk49fyiZ2RfKeFEqquPGEO83EuxK9i/h7uNLa1LRGJ3Abg5W4q+gM4Nc/T+Z6QBTPy nZJhxEPsAZNH6WSYZT585f50BRY00Y6eoTvJSulhLhlLo8FRobirR/a0BHZrTpcuXDJx mqMyo3/nwrFWkiNOSwXkW03wadLiztjGLsvLMrw9MZAiGu0sbDVinP4Yl4HE2tORv75n FS3w== X-Forwarded-Encrypted: i=1; AJvYcCXUl0tfssnFJJrNsKgU/HaIebxH4Km5ZMfXhmSRh+sEKCkBNcjPC3pRSB8p52fOGRPUlsKRk/8oSYWzMAmN@vger.kernel.org X-Gm-Message-State: AOJu0YwDI2umDOLwONeJT44ZotGI3b+BLtFRwfUln7MVdv/y/wP8B/O5 IA6QsVhhQmw8ac/YdS70nZnGHjlkEZittfF/gk//6pVA+i336wEqHOXB+OYYTW4= X-Gm-Gg: ASbGncuMrdM/bSG7YSHUJpEa6xmpqIbjgafHfHox67u9umXd2+0QdCQKBDE2au4UD33 2DB+mPdOwh7NAtTtMnXcUAK4GKDcKQmMxJKPaUYpH/BMs2643FPejqfq/XxVWe7f6S15YCLN5pL vVFnc9ZSnXxf21dr8fgaIHMX/lcniQx3dq5s3ILq09OjmwTtvuvY06bRlaB3XFC6Y75RxnskFL7 uLPehgyWJopz8j7Tj2gfHKDPnS9OKYhHA4hMOEJNLFfaz+cwB0AF0K71Sov95NX X-Google-Smtp-Source: AGHT+IGqnFZxpigpQ9ODtiMrS6DALNNNczOXgsG0KCWv9iCI5/tAgbeiqKkqCBnMr84iq0mo6PD4rg== X-Received: by 2002:a05:6512:1283:b0:540:3581:5047 with SMTP id 2adb3069b0e04-5422959cfdbmr4227024e87.48.1735035153783; Tue, 24 Dec 2024 02:12:33 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54223832073sm1574233e87.260.2024.12.24.02.12.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 02:12:32 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 24 Dec 2024 12:12:13 +0200 Subject: [PATCH 1/4] dt-bindings: clock: qcom,mmcc: support LVDS PLL input for apq8064 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241224-apq8064-fix-mmcc-v1-1-c95d2e2bf143@linaro.org> References: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> In-Reply-To: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeffrey Hugo , Taniya Das Cc: Rob Clark , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1416; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Qth8lmPCD2HZ8e7n0fcscU6OItm375v1ZHaNDTxe/k0=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnaokMnqkvhxjSffwsb2H2ODnrmOrLntpagqmz6 DSMteYvVxmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2qJDAAKCRCLPIo+Aiko 1XOxB/4kwF9PgbpsVnjxy1HtELAqbnhuecamdGx7qGW052yeXgyQh/vocy6c2Qst83ESM0eeI4u bZF/BeIcfFkzleUyyrxuDioDAslxNyw2ETS1R6qDJWLsWdulkwiHmD0BVyXJCgZBypPjGJfBY0B ZPbsMnjThr3IZalaU/Xp2pO1Gy5qXMFazELw1oXN+qMV5zm/OnFmtb39oZHL3plfoApdC/gujlj e77pvtGMcvjjYg+HbkLDOZwQtsTEVo9304tTM25IHN/hnU9Q9HKRQ02SaT7/fgsjumBP3gv56UP Uja8v699FBjAkoq7Cj5yC6Wi3wb7xl4YokuCxkTiyM6v08SP X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A APQ8064 / MSM8960 have separate LVDS PLL driving the LVDS / LCDC clock. Add corresponding input to clock controller bindings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/clock/qcom,mmcc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml index aa35a40648ba8a606c9d6286a1916e2cff339f1a..59ac288ca5f12de4f14fac3ce0d783d1ee1ebb4f 100644 --- a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml @@ -78,6 +78,7 @@ allOf: then: properties: clocks: + minItems: 8 items: - description: Board PXO source - description: PLL 3 clock @@ -87,8 +88,10 @@ allOf: - description: DSI phy instance 2 dsi clock - description: DSI phy instance 2 byte clock - description: HDMI phy PLL clock + - description: LVDS PLL clock clock-names: + minItems: 8 items: - const: pxo - const: pll3 @@ -98,6 +101,7 @@ allOf: - const: dsi2pll - const: dsi2pllbyte - const: hdmipll + - const: lvdspll - if: properties: From patchwork Tue Dec 24 10:12:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 853299 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 040631B6CF5 for ; Tue, 24 Dec 2024 10:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035159; cv=none; b=dBL5KLXbuKjemJM1uzTsqevPeRnyD2Qjmq4CIMr9uuUrgQOJfdvLOkapwKH/IjYu2sQ5IyouGO/iWVll9mB/JKnrllvzhijbpqNODsm8QN7Yz5tlAeaqeVb+FS8TXWgpmoNd1sBLBKZenUDxfdPx8ieuC3ya2ZN2/Nibq7mxEuE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035159; c=relaxed/simple; bh=fDugKsDeVD1y+LzqxMpm2ULzlklXCe9X5w6RlCG7Zeg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CfiQCZ3/7iqQ2B4tnPCN2DsWJeBCLmXt5FefJ548txug/U2fJly31+03UXgak7YBmHzkPTGNS0t4ZQQ2OgtHXi79oTUb0e18/7dcATdgOAGX+D016tGH1V4I1mvItqsr7/91kXYlroili/vfciKzaTbq6jkDP0MTuB4nbvpeK8Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=asG5TYMk; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="asG5TYMk" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-53e3a90336eso5484558e87.3 for ; Tue, 24 Dec 2024 02:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735035156; x=1735639956; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rSwKnWOLzkCsyJkMhnXokdr8YZs5LN4HoxuNCOPRu9Q=; b=asG5TYMkPjExmmE74OKhqY8ZUUaAi8JmTop2aTQWMR+eT/zIyed4eOcdZcZKBSfpt4 IxuGBv5q1/PfreU1KBgIcuzQdxeRUwcrwiEqU20FdPk1YFfo22vRB1R1/ilA7nrvzVHK nKILQv7reKQSSZDFiw1pVSb7Cqa6HjH+IviktCe6KDUasl8QmirSULQAd7Eu4bjs1d9o d9X5EWBf038s+vJ1dVNHBiOMNLn04xkI2RuJKrUU0tdvAXckcis1UxsZq4AGyZqOBt3L z7vDdrviBSsvHZ5upJl7flR8s3TNScXZ5IsE5wU6EskvkQGnitz7ineuOtQu8HJiS2vS 4cgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735035156; x=1735639956; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rSwKnWOLzkCsyJkMhnXokdr8YZs5LN4HoxuNCOPRu9Q=; b=Al8ab8oBa+sfeKsUF7b2KyabtspCtNMzydmDQCPmoDKJA40cB0LlL6mc+s88OnsnzR 2izXvzfgN+qYnVyMhRRkWGF6FHO/+rcfugpy28ETZwi3aOHJK5y+5HUyz8DgLvkiieS0 HDUNwVYZoEKkZ0CIKuABNC4iI/ktEXV8eIPRt4/VRTH0KzPt6ZicPkZzkNyTbvntTWW5 nkwDQx7us+Ttqe5gjoJYK0sPRA+IVtgGqw6akEtxFpdwf1BYQEPJj51yVfExECiKasca Iv9QMNzUGRKh3V6K6jKt9JaYmbXjX9kdzIRjH0ITvQVQMBtd5BRz/j7mCUH4951SYIQn lWFg== X-Forwarded-Encrypted: i=1; AJvYcCVRlOt7Q4Z2tSEeAnLdOb8n6+YS3BVgQhGQKnUGlqSTqcD+WzFCS60hzVZzWVimCGsa9G8Gam+QTuYEEMm0@vger.kernel.org X-Gm-Message-State: AOJu0YxHOAE6NFlfc6Q7K9DyF6pi2wqPeAEfs9c4a/1Juux7T4+TxJ4o qFFX312Rjtcb+V4uxQ8qrlMGVdXFNYIXwd6kpbqegsHzMv25aDzuxzJ2khb9o/Y= X-Gm-Gg: ASbGncuaPku48MlcIVyVorMVyksQnQx01qxRyBXCZq1ImWHmlo4D26a4uPqpIaJGLZk PGfdAtET4wJCWfGSBjJLKx4ceiEI41hN55MPHPYR0sbUDTb9PdIQ6I/yWJTo5CZNKdaiWgg90SZ p1kKHprVuCZEOW7JweOTHjH4UUBZG9dQteA8egIk3yJMRvOZ7jgnFOS24GOL0GNHwimV8gE3pc7 R+ybO5cCPk+3rsciIEh2foU0bgX4/qnHyjyYI6K5s3dyAAZg1G2LH4agwB/G5Nc X-Google-Smtp-Source: AGHT+IECKNu67FWvHQ2QUifRTlJ037c4pteUklzWFsoIoNF4WT5PbdcpxFeMhO04XrfpCPUoVxMipA== X-Received: by 2002:a05:6512:3d15:b0:540:1c6e:f040 with SMTP id 2adb3069b0e04-5422956040bmr4441373e87.45.1735035156215; Tue, 24 Dec 2024 02:12:36 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54223832073sm1574233e87.260.2024.12.24.02.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 02:12:34 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 24 Dec 2024 12:12:14 +0200 Subject: [PATCH 2/4] dt-bindings: clock: qcom,mmcc-msm8960: add LCDC-related clocks Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241224-apq8064-fix-mmcc-v1-2-c95d2e2bf143@linaro.org> References: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> In-Reply-To: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeffrey Hugo , Taniya Das Cc: Rob Clark , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=809; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=fDugKsDeVD1y+LzqxMpm2ULzlklXCe9X5w6RlCG7Zeg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnaokMlip7bs0ty8+2O6ZJZqGn6PLk6+bLXnLc7 tBdfVnA2j6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2qJDAAKCRCLPIo+Aiko 1ejYB/0RXq3L3aWz7wWLSlNdpf03jkOd1D7/4rexEAxTxxMov83idgfrGiu7mDmn1FYnPPH8pUv BEsM2+xvqDdDaWqlIVYLYLAPGPzvRtwIMWnph6H8Rh6xVEiBgEvi+h3QhpL5csW9lGl1ZjsOGVw qQAi9RPU57hQBYOSg1a1W1wFFJixkhFRMBRQNf0yDWLvz7+CUTqtsj5qSnm7N/S5b2cYHUB6Gmz HLDO/wwB67dKOb5TXPRB5wrh7tDI6gjXkoyaaxgner1Me2ETOSpcUHuON1EtwFr//IEP/E2JgTt N1o9UtJwBzL7bRmYrxzcZMMAIKdwHj0W8zyeYYk2K8WlQcfd X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A APQ8064 / MSM8960 have separate LVDS / LCDC clock, driving the MDP4 LCD controller. Add corresponding indices to clock controller bindings. Signed-off-by: Dmitry Baryshkov --- include/dt-bindings/clock/qcom,mmcc-msm8960.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/qcom,mmcc-msm8960.h b/include/dt-bindings/clock/qcom,mmcc-msm8960.h index 81714fc859c503cd865e61f78ba463dfa9431e8d..717431d735c18a14ed02502dd8796f7f135c416d 100644 --- a/include/dt-bindings/clock/qcom,mmcc-msm8960.h +++ b/include/dt-bindings/clock/qcom,mmcc-msm8960.h @@ -133,5 +133,7 @@ #define VCAP_CLK 124 #define VCAP_NPL_CLK 125 #define PLL15 126 +#define DSI2_PIXEL_LVDS_SRC 127 +#define LVDS_CLK 128 #endif From patchwork Tue Dec 24 10:12:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 853508 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87B521B87F5 for ; Tue, 24 Dec 2024 10:12:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035162; cv=none; b=BSnK5gn31MlvuMvuqsrZSiBmtInnKJ+NDoD8RAxHfV6U7dU+FJ7/DW73ZSeTVRTbAFWvIP/cV9WroLMBN3FEad0JdRn54HBdGk9v8CDoBNcpD+iR+V9iDI9f2bcW5xGN9hxxUi2FaT1ex2qx/g2LZgrvSRYF76Iu14RQsavQzgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035162; c=relaxed/simple; bh=AcwQoycLm9utovHACbpm2AffXKTkfX3suXvNPJyE84c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ChZ9Oq2CCie3BPP6S6nG0Zw2skTxTcjQgjY3FOWj9SQeCNV1toNmSrYXkcRluUVtcHrH0hawtSmMvXjHvPRaXLxGmawNKTvv2sYy2PExzlNagYwmw3Dj+xf9XEBAdcOevsKEppueAdca8xE9Ny/5PRGUYci4Y1vpdcNBVGpNAuQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ktlePcFt; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ktlePcFt" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-30229d5b1caso54506281fa.2 for ; Tue, 24 Dec 2024 02:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735035159; x=1735639959; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TR/QxOQXvLizWT86sa/2IoshodRcxisn/V718Oa/Cd8=; b=ktlePcFt/AxqkppC5BPjnXa04YBvK7Ce57ebCZ3kcWXBdKN23MjFkQ5DIDT3g4LEjb /RB5C19ZTuMm3LIrZhpxtop7AspVce+2mAm9WjDjCod06VRliF4mjsXfztKJTLFAFNu5 ujQMxfAGXtxxw+c5FF2XmpdTh8g27bUx6qPpk7J325Kj5+utvamaJU16mpBhIeghmOAi 4x88MIjK3qiX4Nw4IK7iJV/Z4laH7tyteZvQn6DyljWpyUFkZiroSE21uTksmUgUzjbC D0kX146As7XJn8vseizjDi8pnZlCUjgiJNijqaCxgtwFALk4yTW254aFWN79qXu3DFhm 8nuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735035159; x=1735639959; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TR/QxOQXvLizWT86sa/2IoshodRcxisn/V718Oa/Cd8=; b=DXn6inzeMisdnXU92imATAipCeOdJ/KeGHH7uoJJwSToz+X1CZrWSKotcKoRuhTLuZ rOjur+favecofBirh9d4QsKrEdaMk/eRG/ETkLrYi0GNM2tws+YldWPRKs0c+OCe2iNw DCN8+l5J0zHmYgStqny/WY9t9AZhDXUs+A2CW8g/535a79T73v1BloSboFQH8nWKB4wV ViapUcvxk6yyacK/qry0WqR1wvEh1vfo0ZlkObsKIgyoTGKTdfQa9sIcbn7TnhJvuYpQ xQDiO9UghWdFjuX+faSVSsPTQo+0AKFozIkNIKIat5LbM8Cvf8ty3Gb59w0Qp0ffjcnZ W/wg== X-Forwarded-Encrypted: i=1; AJvYcCX3pY1XXtd82YRzY6ZNlV2jANxN5q9HWlOZKLjlPjQrrlBWbnmbmSeK8XocyLVCGO2lR96BajgL7WiBVNjm@vger.kernel.org X-Gm-Message-State: AOJu0Ywj49wb9bk+j+8xL0gofYn4UoGj77DZhubVo9jaR15G/AGjqyfN II1bO1/xkgWWFAYWHQsosu56EnQ3LaFvi1j9arLlMMPgKiRR3i9G5+yf0+Us3BM= X-Gm-Gg: ASbGncsqGlvftE4fKvxGPJFK/IdotW1QGo0DXasK76QjgrOT3dt2I34CN9RhITn5s+Z jGkfw5hCLWUrn3qdHMCbRlpRoToA2W4+CFxTWN+4DOOhg2O6+EeAXMDyBLosI79tprfAr4m4LtO m24zgJ5MPy/c8UxqfCNHj4X1OPhpyBx9VXBAnYPUPLDP9X+DDH2su2y0FEnirzdX5VESQAx6hOq 6TUZJfWdHAOoqtLSV3lmZFK8Ab4gQSQzv3lK+IQENS7fjujUXhHrMUzVIL6q7iL X-Google-Smtp-Source: AGHT+IFOfeFBK10sJlw4WmkI7SiGjao3GcU5smVbFwzxZ90JTpX/d0rEVksH5XM2BGFoRQ+HtpnzfQ== X-Received: by 2002:a05:6512:3192:b0:540:1f7d:8bc4 with SMTP id 2adb3069b0e04-5422956ba37mr4720310e87.48.1735035158708; Tue, 24 Dec 2024 02:12:38 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54223832073sm1574233e87.260.2024.12.24.02.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 02:12:37 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 24 Dec 2024 12:12:15 +0200 Subject: [PATCH 3/4] clk: qcom: rcg: add 1/1 pixel clock ratio Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241224-apq8064-fix-mmcc-v1-3-c95d2e2bf143@linaro.org> References: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> In-Reply-To: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeffrey Hugo , Taniya Das Cc: Rob Clark , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=664; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=AcwQoycLm9utovHACbpm2AffXKTkfX3suXvNPJyE84c=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnaokMw7znaaeRfLp3dc2QiRSO6UNpEmNAkDgCm t7hIf/KEO6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2qJDAAKCRCLPIo+Aiko 1bR3B/90PaxN1G8SEdn+3uQIdBsQPLCZHWmFrdUYRImseITgrw/LjNaNZx/ClQ2kvW+LY4GTU8P vIPrSM/9u5Z1eRVP0Pz4KrgGSQKyd/ZArG3ntuht5dSgu+y+bKDH/0FIkA1fckwPJkpXkY1kSIU W6hZUjd372r61FxDaXwKe2fqGUXcHlWQONZTS2kXpk060E6GmZL7CVOd1XS2qTuzT+jZ6mYg06g fH6A53lvic8fLdvtG8qaUs87QNT0WYn8PLZSRHMGbWbpZUYDxECndtYOd3jN5DaXHrLZzCWA9PG PcRYpM0YJtNXbB9betP0CEDZqPbRTotPNrBTHKu5spDCAZoi X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A LVDS clocks require 1:1 ration support in the table used by clk_rcg_pixel_ops. Add corresponding divider to the table. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/clk-rcg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clk-rcg.c b/drivers/clk/qcom/clk-rcg.c index 88845baa7f84234b8554ef59cbfe2322870f1f69..987141c91fe0bc323d84529afbf6c96d247a55a3 100644 --- a/drivers/clk/qcom/clk-rcg.c +++ b/drivers/clk/qcom/clk-rcg.c @@ -597,6 +597,7 @@ struct frac_entry { }; static const struct frac_entry pixel_table[] = { + { 1, 1 }, { 1, 2 }, { 1, 3 }, { 3, 16 }, From patchwork Tue Dec 24 10:12:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 853298 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E34381BDAAE for ; Tue, 24 Dec 2024 10:12:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035165; cv=none; b=tUMCqV2IO4S0PcQKuNzD9lsLHxyiG0yT2U5SeVuGtMizY+0Njb82eTVWT7FAalqW3XdSeKRsXSpkqc8et/+msMGaipBigYcIZbOdzhoV4kS19Q9rVZXXYa6rTdQ8B+mTafmLHK1ihtpk6YlqPLD0sZW7lGjNmK8KKZlunuguAuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035165; c=relaxed/simple; bh=OZbwhp9v0yJpxtOAjrkOLCh412r4s/Pspr2Af7Z6HMk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pIVZLpPP+y9yWr5wpL/vMIr7cCGSHwfp4HjDWuJ/mg6ulRrJE7PV8gHguF/Vac+4+SosrJxTRa+HSUOEYKsaceU+EyiJSSMdXRfcuqojc4lYodvs7FyibefTwoGSlKdcstoGZURLSAQbs+gc0KnxY/Mdowq23AcefQNOEbVIVac= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xN3awfGa; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xN3awfGa" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53e3a37ae07so5340481e87.3 for ; Tue, 24 Dec 2024 02:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735035161; x=1735639961; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6mXzY4WhWP+aDJKEVsTsLjKHDeS6gGmOf+TLu798BVY=; b=xN3awfGazW51/kCYeDWdQMLfCiYrk0BoFMpnO8qnRjfnLmHF4toj6dk1W1AaY4KmMP fzW2OGtNmOF9RHyPfaG0LNoWDCfWGGhX5lQDWPyTtcw4TOqhmkFO96A937oCEI1qhFRm oMxZfWTumlyYboo0w4etgTnpHCcserXzxi/2p/trkvf4Jo7E2bag3XUcs0HX4OZbSNmP KSBuVykGdlJHXfIWsw+ArQPLzfGlRbwyLXSUWI3S1BAM9LmVnutMGUpM2ZCy1dFFpvw/ 9MFPovOMwM/yuJ0DBixlpB04B0I4ALvyv3yn3wr4E6EP8WfhmNLyXB9V1X2phB3weip6 1MmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735035161; x=1735639961; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6mXzY4WhWP+aDJKEVsTsLjKHDeS6gGmOf+TLu798BVY=; b=e7ZOg+avQOLQvR3DpOsPOIeQNFir0FnTEK+gJKBU0rmMMPNrJ09SV2+ciRadn7SWVV czPUY3vXYm95QvyzO0byq+eg1lSdxhmSD3Dp+Gf/37mW952WtJWTZL1O5YHzlWTHRjQ/ GSXnup85+NUmiSQRs5r5GxnHXCnySVwjB8ZOWyq901yx4H/y52C6jIoFOe5hwkjEYns+ brPF92xCtMzsykDplb7OC38Ds0QEvNK30glQJFBWjuHFkXU8U6U/z1AtqFi+lbGRI1yB H8M34jIaWhp4OUH1eA8qAe7skmNqwpONScCha3Q9tBFE3OF/Vq/NtFPcjIClep/Ijrtv Czzg== X-Forwarded-Encrypted: i=1; AJvYcCUFLnrHR6i8eQSMIJ5YVRbcBgroYR0GmTUPJQw1WFCAkBOqWGAkd3gWKeLoWMkueTG7ALm3jFhJ0UroqKzI@vger.kernel.org X-Gm-Message-State: AOJu0YwWHictXYdAwnB03LU/bN4gCHdWCzBrA2i0tl83uPAsgc/ez3S0 d4YMnu0mQb/aqilnQGvi5FpvxGJr77VrMBX+fjThlKzF8lHUtBgtOGtZaHmvWd8qcx3zFzayByB C X-Gm-Gg: ASbGncv+2laIWoV2Te9UnOuPj6p6bVOEF91y9hfug4XBF0HqYWXbr9Go1zRk215CNm0 jEwEMo08td2vedOFLSPyzcUTmBunbBbOfGRazBwpcjK1pTGvmH4c9FKO4oIzVB+iP8tQQdxVJjV 8rMugUTThorxhsXKkGuA0o0K3gvSNr5UkilPvfpvJ1U9FwrjFoWPnqcGYz6lHAW6hdda7DLIYPq HKnC+1zL0jd6aadjSPghiR5IMYZpJ3sxKVNxVDJzY57ASESGI3K+w1HvYEq3D2s X-Google-Smtp-Source: AGHT+IE0ZELiwo7+KnvFDaM6stPOMYxeW2oSNkT4ubW9RCuiLLhXc0Cqj2kqttntd6Eru/iBwA9mmA== X-Received: by 2002:a05:6512:1053:b0:542:29e5:7323 with SMTP id 2adb3069b0e04-54229e573famr4655313e87.5.1735035161113; Tue, 24 Dec 2024 02:12:41 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54223832073sm1574233e87.260.2024.12.24.02.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 02:12:39 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 24 Dec 2024 12:12:16 +0200 Subject: [PATCH 4/4] clk: qcom: mmcc-msm8960: handle LVDS clock Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241224-apq8064-fix-mmcc-v1-4-c95d2e2bf143@linaro.org> References: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> In-Reply-To: <20241224-apq8064-fix-mmcc-v1-0-c95d2e2bf143@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeffrey Hugo , Taniya Das Cc: Rob Clark , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4316; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=OZbwhp9v0yJpxtOAjrkOLCh412r4s/Pspr2Af7Z6HMk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnaokMsdsE3iQatg9NHaGAS+xN1N7srVmo25Pzg qShpoD5dsmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2qJDAAKCRCLPIo+Aiko 1S1lB/9H9aVeyi0xwWm1S/oL5eqny/MQDJgd/VGN4W7Mbk2n7tfzTLlKVlknNt7GrD3yBCVlfFR qxcfLfRiqM1vXMw/SuPIaib3PSNquziqyCY4M1w23FRGzSSc3gAxb5fXfQXs/0l1aM3HcsFBgHa IPlOrK482rlJyZWoN1c04AncGx0lQ0Zp//SHl1EJUrGJzjWWtFg/YNVEqWk7MPcdC8kGMdcF02Q BGRmuPg2uBS80VAfz39hO10cFnLn04/3Xp6lQF+xacuWgMFLoufkL/I0LbdByJhBVVaUWxQM6cZ BOeY2alDVKmqYHd7vxlt+Rt74tSYL9WcEw6d4cdNxfIPpN7l X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On APQ8064 the DSI2_PIXEL_SRC clock can be used either to drive the second DSI host or to drive the LCDC controller. Add LVDS PLL as possible source to the clock and LVDS output clock. The DSI2_PIXEL_SRC clock has separate path to be used for the LVDS clock. To represent both DSI and LVDS clocks properly, add intermediate clock which toggles the enable bit and make DSI2_PIXEL_CLK clock just check for the HALT bit. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/mmcc-msm8960.c | 61 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/drivers/clk/qcom/mmcc-msm8960.c b/drivers/clk/qcom/mmcc-msm8960.c index 3f41249c5ae4350a0d5a6e7ece0fa0416bfd9114..20d1c43f35d99ba531c4e138950c0b69c8c08786 100644 --- a/drivers/clk/qcom/mmcc-msm8960.c +++ b/drivers/clk/qcom/mmcc-msm8960.c @@ -37,6 +37,7 @@ enum { P_DSI2_PLL_DSICLK, P_DSI1_PLL_BYTECLK, P_DSI2_PLL_BYTECLK, + P_LVDS_PLL, }; #define F_MN(f, s, _m, _n) { .freq = f, .src = s, .m = _m, .n = _n } @@ -143,6 +144,20 @@ static const struct clk_parent_data mmcc_pxo_dsi2_dsi1[] = { { .fw_name = "dsi1pll", .name = "dsi1pll" }, }; +static const struct parent_map mmcc_pxo_dsi2_dsi1_lvds_map[] = { + { P_PXO, 0 }, + { P_DSI2_PLL_DSICLK, 1 }, + { P_LVDS_PLL, 2 }, + { P_DSI1_PLL_DSICLK, 3 }, +}; + +static const struct clk_parent_data mmcc_pxo_dsi2_dsi1_lvds[] = { + { .fw_name = "pxo", .name = "pxo_board" }, + { .fw_name = "dsi2pll", .name = "dsi2pll" }, + { .fw_name = "lvdspll", .name = "mpd4_lvds_pll" }, + { .fw_name = "dsi1pll", .name = "dsi1pll" }, +}; + static const struct parent_map mmcc_pxo_dsi1_dsi2_byte_map[] = { { P_PXO, 0 }, { P_DSI1_PLL_BYTECLK, 1 }, @@ -2439,26 +2454,42 @@ static struct clk_rcg dsi2_pixel_src = { }, .s = { .src_sel_shift = 0, - .parent_map = mmcc_pxo_dsi2_dsi1_map, + .parent_map = mmcc_pxo_dsi2_dsi1_lvds_map, }, .clkr = { .enable_reg = 0x0094, .enable_mask = BIT(2), .hw.init = &(struct clk_init_data){ .name = "dsi2_pixel_src", - .parent_data = mmcc_pxo_dsi2_dsi1, - .num_parents = ARRAY_SIZE(mmcc_pxo_dsi2_dsi1), + .parent_data = mmcc_pxo_dsi2_dsi1_lvds, + .num_parents = ARRAY_SIZE(mmcc_pxo_dsi2_dsi1_lvds), .ops = &clk_rcg_pixel_ops, }, }, }; +static struct clk_branch dsi2_pixel_lvds_src = { + .clkr = { + .enable_reg = 0x0094, + .enable_mask = BIT(0), + .hw.init = &(struct clk_init_data){ + .name = "dsi2_pixel_lvds_src", + .parent_hws = (const struct clk_hw*[]){ + &dsi2_pixel_src.clkr.hw + }, + .num_parents = 1, + .ops = &clk_branch_simple_ops, + .flags = CLK_SET_RATE_PARENT, + }, + }, +}; + static struct clk_branch dsi2_pixel_clk = { .halt_reg = 0x01d0, .halt_bit = 19, .clkr = { .enable_reg = 0x0094, - .enable_mask = BIT(0), + .enable_mask = 0, .hw.init = &(struct clk_init_data){ .name = "mdp_pclk2_clk", .parent_hws = (const struct clk_hw*[]){ @@ -2471,6 +2502,24 @@ static struct clk_branch dsi2_pixel_clk = { }, }; +static struct clk_branch lvds_clk = { + .halt_reg = 0x024c, + .halt_bit = 6, + .clkr = { + .enable_reg = 0x0264, + .enable_mask = BIT(1), + .hw.init = &(struct clk_init_data){ + .name = "mdp_lvds_clk", + .parent_hws = (const struct clk_hw*[]){ + &dsi2_pixel_lvds_src.clkr.hw + }, + .num_parents = 1, + .ops = &clk_branch_ops, + .flags = CLK_SET_RATE_PARENT, + }, + }, +}; + static struct clk_branch gfx2d0_ahb_clk = { .hwcg_reg = 0x0038, .hwcg_bit = 28, @@ -2799,6 +2848,8 @@ static struct clk_regmap *mmcc_msm8960_clks[] = { [CSIPHY1_TIMER_CLK] = &csiphy1_timer_clk.clkr, [CSIPHY0_TIMER_CLK] = &csiphy0_timer_clk.clkr, [PLL2] = &pll2.clkr, + [DSI2_PIXEL_LVDS_SRC] = &dsi2_pixel_lvds_src.clkr, + [LVDS_CLK] = &lvds_clk.clkr, }; static const struct qcom_reset_map mmcc_msm8960_resets[] = { @@ -2983,6 +3034,8 @@ static struct clk_regmap *mmcc_apq8064_clks[] = { [VCAP_CLK] = &vcap_clk.clkr, [VCAP_NPL_CLK] = &vcap_npl_clk.clkr, [PLL15] = &pll15.clkr, + [DSI2_PIXEL_LVDS_SRC] = &dsi2_pixel_lvds_src.clkr, + [LVDS_CLK] = &lvds_clk.clkr, }; static const struct qcom_reset_map mmcc_apq8064_resets[] = {