From patchwork Tue Jun 4 13:46:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 801724 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 15D72EADC for ; Tue, 4 Jun 2024 13:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509054; cv=none; b=sgOoY4R8P2RDLfAh/726UF52VXPfjkAB7wwuHoMiFvVE3TYuv7HVkWsmwYDXCTYOkD9YRYVAPngpqRAl9wBGVj0fYQAfcL+VmPcWKlkZ6a3cCNiol4CnhCzfPU+pzPp8WnYFjAcIH5oSM2ALAwUakK0kbOazQpuq1RbntpjfEBw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509054; c=relaxed/simple; bh=KFaoi4oj1/WCHj7ZnXRUSSLfeXGtAKCrn+Jrsl+3K3o=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=JcQMsfwnreTp4A5FcegJx5z0ymZAK8d/eW8JIKE6aZbpc74nfJDtAg878YPcrks5t8mH6gVZmE7SCs+huyCZv9PQru8Fmd7LTmY265K1ItP3+W9iQPjELMqVlFIJsr2Yv8jmdFp7Ze0yHfPLyNUsTxKMlCw2/74VEHk1MYHvnIQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=pVisfXq3; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="pVisfXq3" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4213870aafdso25175635e9.2 for ; Tue, 04 Jun 2024 06:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1717509051; x=1718113851; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=A0z8y2KXgWMctf+4HNibjJ24MwvWsWDlBq67X1P0x7Q=; b=pVisfXq34AYR+pb3k8jPclx+rkTkILa/F1JxGgEwX3t3WeCunrcb7ArcmfUjtucj0K PKZRP4KWgootj3iN85l/+ziVhOuGNyEL0UBEBwrqJ6KiGEXiCO9ejqA0J8UgZw874BBr NLhYzChfIjkR4SMxnDRWDGnqTW4RszsQBqdgAzcK/ZBfdybTNPAJNQ8VnBK0lm0X+rw0 4leFa5M09deEwlbKOOoabf2NFys7+k5/cqCdcHeIkKVnlFeWG/nec543V0evQqlORpol Ycz89LT8iQ27nNzpiRYaDxI1lJSvMJ2BWMH7CAMv2rTqda+AgP7aAV6UqpYZu/0m+lU+ vHDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717509051; x=1718113851; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A0z8y2KXgWMctf+4HNibjJ24MwvWsWDlBq67X1P0x7Q=; b=nYIvly0GchZG6QVEzjIJV/GCnRek1EdVSDvJanivDIIJ6vESwVOPSdfeSWM4EG9IST sGImn24r15V3ixHYOZ/qt92Ax2IdXIG0Ym/GFMdfAM2YB2lgnFq55QR2EN0SzJ1fexZo l4xUU0qzsSe000v4ueppYIH15sOrE50O047W2q+8xCNTKVAeZGhK02T3YDYJbsFSk50c LOUyJeWH6APuDJfs5ykAuTEHpeasNf6KO0il6t9BKqwbsOKj3rYKovF5jM6nW9wmtrn5 Qprlk2fVh0nRsJmbx9YEZY23EW1SHNB7fkVPde6aWUUKBrb4AK1OaztMYPASLkq6O6mY YqQQ== X-Forwarded-Encrypted: i=1; AJvYcCUnVOR0xjllC7TgnLutlVmRVubGoOT96OaErp6A6g6fKhbMTynyjZWL6zeZKkDJBnikbHkeB1BNGJ606olChCifTWwGazVnNDjowgqjLA== X-Gm-Message-State: AOJu0YzBekyEEHwGJ3mav2Fzh2hNXKQ1f1Olo3D/aYqniiKmrF1B0s2t dw7gNf0wscDyjtzy2Znz/bPzMgNZuWChHi2SNKQEjS0I/lqZIkuyeglUkXvcU94= X-Google-Smtp-Source: AGHT+IEc2+tqSTQ0+czKAp3EtUoJe7f/LGCfMvFWif4Jd/fuXiqh5Du825hPDJRf3RAhHkvuNgWcgw== X-Received: by 2002:a05:600c:4f46:b0:41f:f32c:e097 with SMTP id 5b1f17b1804b1-4212e0763ebmr92670415e9.23.1717509051469; Tue, 04 Jun 2024 06:50:51 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42133227f8asm139569755e9.19.2024.06.04.06.50.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 06:50:51 -0700 (PDT) Message-ID: Date: Tue, 4 Jun 2024 15:46:03 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom, hdmi-phy-8998 From: Marc Gonzalez To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Bjorn Andersson , Konrad Dybcio Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , MSM , DT , freedreno@lists.freedesktop.org, Arnaud Vrac , Pierre-Hugues Husson References: Content-Language: en-US In-Reply-To: HDMI PHY block embedded in the APQ8098. Signed-off-by: Marc Gonzalez Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml index 83fe4b39b56f4..78607ee3e2e84 100644 --- a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml @@ -14,6 +14,7 @@ properties: compatible: enum: - qcom,hdmi-phy-8996 + - qcom,hdmi-phy-8998 reg: maxItems: 6 From patchwork Tue Jun 4 13:47:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 801448 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 308ED15E83 for ; Tue, 4 Jun 2024 13:50:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509056; cv=none; b=OMPrq0WeaKg0hh6tDDajABs6D9uk4lhs12F9bO9LpOF03DA42HAtma/gdWXkE9jEg7AV3wyRuURlQdmGrWJW8r1vVQymyVpgSWNAL5poT13UpWxTxUWLuza0/mrRH1atVxn8WSwv07NamdfW6T98r15rjr/gqtZ7hdxH9ERXhs4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509056; c=relaxed/simple; bh=w6wxT3v94oRxk3E7RBTjLkHohc3Bnp6aI72JbPDOuSg=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=C8+ILaafIweOSh47rpoh3Huz2Qf8rRNleZhwKcijc3cCl5ndXBpSv4Lnk0rv4X2T5S8HrHvAauYqO0z7m4O36RzjbEdfcDDIR1rgRFRVETT3eDRzNqTrm6+zH1ZGS2F8uOTioymvHg4GQt7gn6BV6Q/P/QXVG2x0F3ar5CqPPts= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=KaD5sjGG; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="KaD5sjGG" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52b9dda4906so2274819e87.2 for ; Tue, 04 Jun 2024 06:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1717509052; x=1718113852; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=DAxZmX6/vrF9fWzRMYvQiNF/0jN2EbEz/3Bo7MBhqt8=; b=KaD5sjGGaWJJqY1+N2UZHLtiCWHZTJIa5VCjcSu1sIHvAFR0hcLQ9zvNI0L5qTeqst KZVsiBlUVsRpRB3IHJUFB2cX8JxUSJFFbMUENIc7mmB+mwOsDKTqRU5ZCDGW9Um5mdgz xmP9p43czCWtr+9X6yiEMfk1Ap0zhwt7O71wJ3t/p6wZkzmzBxLx6ckokcEUVf//8DtH sixVajLTyMVh/2PTENgl6Q5mfe2siGOCEBvN3gHYDQc01AlwSzz0u7UQfnb95QjY6D2J hncxDWq0iUObkFQt2kZ7hUTeWkZ5VCRAQCiVJpPhuxlLqCtj41zsOGuGx64BCJ7U7h6p t/bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717509052; x=1718113852; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DAxZmX6/vrF9fWzRMYvQiNF/0jN2EbEz/3Bo7MBhqt8=; b=ANKpNOEyci2vwifch0jfQEtoQxCKNmuCnP/PYiWA4pfXDZG1pBEeBjRAlbV8WI6YL+ 2Sjcf1H1GH2wtrXqKgPcf8arv3R8YXFBCW/B09Vr7o+7XrvFqszVAsjFBvBxvU50Lhoe t4tUJmdV9gPYSgO3KWFnR9FqM6vfycGGPGIGu3CoTfovvRqz9MTeEa+7Ns0yAQCZlsRB agQO9F1f9qrin4NGIygpXp89otLlcbsZJ/6tm0bABJTXYmUWRm/31efA8L1jJKb6D/dH 6/IRUYSSL25ZTkxSdDVyd2ialoI80F79P2sPyk19JPfPNhhUkjhov/qFh+e7DtdKqHlD zBCw== X-Forwarded-Encrypted: i=1; AJvYcCVJT1jjxjM40+yHP2+8UaDGwzLKAMsfF9By7MuH9ujwaDCVLTtkOaknvVwPGRm08Diq7YTv/ko/9PW6lacGwtcc1c7XulmeES6RrrCpCg== X-Gm-Message-State: AOJu0YxERsyhWqz6o6Dhp0xk7Q1YUMAuBWjZH505QSUWhcpOX2VMZA08 LSXeZx8BtNCj3onZbnHrQ95ziFZ/zIseSONcY6AHw1oDO6wGoOD4OFbFhzj9aPs= X-Google-Smtp-Source: AGHT+IHMiuaN/QXE2W2FVQQlvPqF+jnsGtvfXm41KlLvHHQfKwwkQ7H70L30Pz3XUGcM7ni3Los60g== X-Received: by 2002:a05:6512:54e:b0:52b:851d:4db6 with SMTP id 2adb3069b0e04-52b8957b271mr8132955e87.26.1717509052405; Tue, 04 Jun 2024 06:50:52 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42133227f8asm139569755e9.19.2024.06.04.06.50.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 06:50:52 -0700 (PDT) Message-ID: <9d54a12a-ae66-491c-aa1e-96b7daa02201@freebox.fr> Date: Tue, 4 Jun 2024 15:47:20 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 From: Marc Gonzalez To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Bjorn Andersson , Konrad Dybcio Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , MSM , DT , freedreno@lists.freedesktop.org, Arnaud Vrac , Pierre-Hugues Husson References: Content-Language: en-US In-Reply-To: HDMI TX block embedded in the APQ8098. Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/display/msm/hdmi.yaml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml index 47e97669821c3..13199f1676f7c 100644 --- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml +++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml @@ -19,14 +19,15 @@ properties: - qcom,hdmi-tx-8974 - qcom,hdmi-tx-8994 - qcom,hdmi-tx-8996 + - qcom,hdmi-tx-8998 clocks: minItems: 1 - maxItems: 5 + maxItems: 8 clock-names: minItems: 1 - maxItems: 5 + maxItems: 8 reg: minItems: 1 @@ -151,6 +152,27 @@ allOf: - const: extp hdmi-mux-supplies: false + - if: + properties: + compatible: + contains: + enum: + - qcom,hdmi-tx-8998 + then: + properties: + clocks: + minItems: 8 + clock-names: + items: + - const: mdp_core + - const: mnoc + - const: iface + - const: bus + - const: iface_mmss + - const: core + - const: alt_iface + - const: extp + additionalProperties: false examples: From patchwork Tue Jun 4 13:47:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 801723 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 B61B2171CC for ; Tue, 4 Jun 2024 13:50:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509056; cv=none; b=p32crCa2ssMse34jW9942YRLfwmrrskdDytBJOSwU2H3tZTNIttmI7H9tUPqXmhX25l09Xk7AZJM+nt4Th3G3MDC32NphRC8t1oL46bhm1bWF/ge9D13NIpHBKPYA3f3G8FZ7fCi34xuBtAPXWFgPFkiKYrPLG6ynrMkRyRBhSM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509056; c=relaxed/simple; bh=WNuAZBY5M5utaqDRaS3YVc/66sKW+YV2ror0qkCbifs=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=Om3fkrlPxIlZttyXs5+CXkhEnjXneRq5KmJeB5ASxpgYSOteEC29KlDK3YT41S+nYcgn2fmPo8e7EUZFnQwT1sb6z630XDaOc3PGzib21papY4DPP39/mUP9YpruKI6SULJFmcQzjQmiHPMah3o5aV5Icc09SkUGu86BhgENGxg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=c1pO2qQo; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="c1pO2qQo" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-421555a4454so1214375e9.3 for ; Tue, 04 Jun 2024 06:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1717509053; x=1718113853; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=1CmU0DTF3wr3QsPtiX/X8uKixsYvsbrBSlvb1F0M3SQ=; b=c1pO2qQoMk5t3d9w8D1BYL/fNQWFzyseRfuJ1MBWrWd4iynKaLK88duS6nnQbaneN7 VwHWd/Jbn38OiJHmqaszpDGqVjEuRodzajdn1azuYQVrv6ffEBsVGMMlVrYnryH8XvB7 OaVoJy7nM16FCJzCudVHMaVdOiAgPISne4OiXNEpGwst6EwCMBGGrBNLNuP6u7J/1Vhq tyZK+Kk3Fld2Z3TZv4YKqZFrC63f+F1MbMYS4C4Og7k/UFpLmTNzmFJA8cZhwYhThPCK llbMsnD0NJfzu9TKSswf3ijSAo3xgREwr0ay4jKBFDCTbWts1dLlRbUq+G6jfOT280yy m0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717509053; x=1718113853; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1CmU0DTF3wr3QsPtiX/X8uKixsYvsbrBSlvb1F0M3SQ=; b=iIiIzMHPiotJVY4kmLOzcCTvqwBY1qaY80oeuWWodyu+xG+TLYOgCGrvDkpF9m3aHk gfa0sGjFjnpkd0J3lm87BLC/uviLq3kwvy5wMHaHGK7TcwgUlUhedBVD3hkEU//HZ/Ho QmCDadnJtA2/kQ4pPg6HCYMSvg/62AHSxZ9pq5j+BF2LNA4q2rOoJZso/n/+9+Ca4LSP sbeiJYBV3MSEVyqssvepF1bfXiqajn0S8qbsnsB2qoPjNkDUUKG7FeeDoKa4epHs2oMc tlJQlhEJQM0M7ljk2G+dygjkYRnh8yfwDJDUWM0lLUzYwaCh/XeXAjVFY3HU1lh9PRqi 4dtw== X-Forwarded-Encrypted: i=1; AJvYcCXd+i6OvK9ZlsQ5ONJSEjqOeTiccPfbRIl06fY8k+KwQHjQOelpqwA8EQc6QKgv14TUwG1UF9zsoZThLpS8jt1Od3je8+/xHPo6Lcdq2A== X-Gm-Message-State: AOJu0YwYIMyNuYRffMfxgt/xEK6s1JHEUzk+3SKXcsCNHnfwfDnHm0Wr CXDRXFyCEYVTdw2T2YeVyLfwngTOTC3sCRhJmSgaQlCE1sKpYDTOA3Fy0fYjs2g= X-Google-Smtp-Source: AGHT+IEKzaDjXASfbYTGTMDqSF3S8HOCUTwRYdvhMGZS2at1GRzbC8wUQ7EhWXjf0frP4FQPZnZyBQ== X-Received: by 2002:a05:600c:524f:b0:421:494c:9e74 with SMTP id 5b1f17b1804b1-421494ca032mr20179575e9.23.1717509053151; Tue, 04 Jun 2024 06:50:53 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42133227f8asm139569755e9.19.2024.06.04.06.50.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 06:50:52 -0700 (PDT) Message-ID: <84a86082-f28d-4750-a4ab-1c534bc54b78@freebox.fr> Date: Tue, 4 Jun 2024 15:47:57 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs From: Marc Gonzalez To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Bjorn Andersson , Konrad Dybcio Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , MSM , DT , freedreno@lists.freedesktop.org, Arnaud Vrac , Pierre-Hugues Husson References: Content-Language: en-US In-Reply-To: MSM8998 GPIO pin controller reference design defines: - CEC: pin 31 - DDC: pin 32,33 - HPD: pin 34 Downstream vendor code for reference: https://git.codelinaro.org/clo/la/kernel/msm-4.4/-/blob/caf_migration/kernel.lnx.4.4.r38-rel/arch/arm/boot/dts/qcom/msm8998-pinctrl.dtsi#L2324-2400 mdss_hdmi_{cec,ddc,hpd}_{active,suspend} Signed-off-by: Marc Gonzalez --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index e5f051f5a92de..ba5e873f0f35f 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1434,6 +1434,34 @@ blsp2_spi6_default: blsp2-spi6-default-state { drive-strength = <6>; bias-disable; }; + + hdmi_cec_default: hdmi-cec-default-state { + pins = "gpio31"; + function = "hdmi_cec"; + drive-strength = <2>; + bias-pull-up; + }; + + hdmi_ddc_default: hdmi-ddc-default-state { + pins = "gpio32", "gpio33"; + function = "hdmi_ddc"; + drive-strength = <2>; + bias-pull-up; + }; + + hdmi_hpd_default: hdmi-hpd-default-state { + pins = "gpio34"; + function = "hdmi_hot"; + drive-strength = <16>; + bias-pull-down; + }; + + hdmi_hpd_sleep: hdmi-hpd-sleep-state { + pins = "gpio34"; + function = "hdmi_hot"; + drive-strength = <2>; + bias-pull-down; + }; }; remoteproc_mss: remoteproc@4080000 { From patchwork Tue Jun 4 13:49:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 801722 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.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 692E1EECF for ; Tue, 4 Jun 2024 13:50:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509057; cv=none; b=DBBABiV0b7sbHDMCuTtnlNkJrFGkdSwG66Rsp1FIlCwrA3NfLbYR+yrAI0gL8p+Ec64PJq13DNfbr0mH6W+1XeH3D26J+/s4PxaCO0BRoNYbNAHGUgNaiRPIt9s1i/UNBM8MssSTTzvyZUXaY4veOqCHP+/75h/Ut79IBap/5VM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509057; c=relaxed/simple; bh=lgQ9TISB+gx9SFm7r4RKRfj7kA6xLYET6ecz7rril+8=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=tptfYrTKgSlQcypM2/JCZIWv0Gb4SUR6UUVJCRuz/gGv6n3RWDR8J0qTVtMcf+SNneRhkX9EwIKJITUQcBOU7ReGCTx4pRhgbjMOuMXppdJvNEjeNm3u6cN/40izc8L6npIFMcwvjgaxYAjg9ZNZnnBPKgwTYRapDt5bB9UW/XA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=2IEtuynJ; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="2IEtuynJ" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4213b94b7e7so14300205e9.0 for ; Tue, 04 Jun 2024 06:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1717509054; x=1718113854; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=96Dvl82Hjo8efzNzsjm1jSvKrMhIPC8VaRY2If0PCPw=; b=2IEtuynJhki0EdTuS5fyPooil0RWHl+T+2Zu+ASvB1iOQZ/7geV6tjj7m4WYLXNKxH Bt2I/gCHeP2g1r3R56sQfyIzmgMisgFbz1xGxsX6wtcj3upLYFYbvUmW/QIxDqzV5jr3 fTISkrEJf2HdnkDVL3JiY+psP/+AkIiD0FX37VhBx4gTtCRsUsOMZacwfVeE7vYzd+Zh 54heT0G9PQDooELy3e/0s4lFPjyaQ5LnB7J84bwRvnCD152Wb7ITTCX/hz/nvONhEBbW MgrYPIHJmCnv+8y44NTTWNboCniYdIEuWRBxY36L72wucBNJRjW5UYOxlHITp960QmiU 2GTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717509054; x=1718113854; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=96Dvl82Hjo8efzNzsjm1jSvKrMhIPC8VaRY2If0PCPw=; b=MiaO6TMmTLnxPqsMXEpBvvBALByFhpoL/J5QUvEmwQhE5S0shLuZkRqrrOs4c0R6Ih Y/f0dkqKu+O8jhHBN9vBa6isx4YqQ5W7qf7udSTD5X3d3kidKO0KSCzwX4xZqJF5EArK xZ309OnDIfCENVOyoykx5YzuTruPGiGbw8cFsYS37Gxj6hs33/7zQALaTQdo9ljgSieh eSyLw1zTupeWELI+F8fW2o2CjT3YvL+Nh6eMlDI5Za/R0PavqsSah4l5cvInLB/yBmwX gTAFn94EnpjrrLgz3C+wefYIIrw38lnPaC094f3O1ux7rIrCoAmy7kUx20tnqz1YcVQ0 ZXPQ== X-Forwarded-Encrypted: i=1; AJvYcCWpK7oqc0YcC3NpobmKuh8DRvZnoX9lQjQM+GV7E36oTFx3sifx4lgaj1DhwGlBue6dgF629MQNjE8MSEK7bNInrCQcuGQLgKl/KBxXxA== X-Gm-Message-State: AOJu0Ywp4xovVkzoQsgvTx6K0huW4eng96YiVwVS7iERIgpHo+EWMF5r Y5xd6NKuiRjBX/Pvzo6T5lo2Kpz+CLjJJ1AB+Iwgprb1dkUCwi4EmO4XVpftBablrqn+rnCkMQn CUpE= X-Google-Smtp-Source: AGHT+IHiQS1qEab8CDh9QhUYvRIc9qMluklpij7Hsvm1tty61lkjVQR1crQTp7gzhBw6FTV42IpGwA== X-Received: by 2002:a05:600c:5487:b0:421:556f:5fb8 with SMTP id 5b1f17b1804b1-421556f6215mr2242405e9.0.1717509053947; Tue, 04 Jun 2024 06:50:53 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42133227f8asm139569755e9.19.2024.06.04.06.50.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 06:50:53 -0700 (PDT) Message-ID: <648b2798-9302-4c6e-9ef2-e4318066d28f@freebox.fr> Date: Tue, 4 Jun 2024 15:49:24 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998 From: Marc Gonzalez To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Bjorn Andersson , Konrad Dybcio Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , MSM , DT , freedreno@lists.freedesktop.org, Arnaud Vrac , Pierre-Hugues Husson References: Content-Language: en-US In-Reply-To: From: Arnaud Vrac Port device nodes from vendor code. Signed-off-by: Arnaud Vrac Signed-off-by: Marc Gonzalez --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 99 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index ba5e873f0f35f..f65a76da61ea8 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2785,7 +2785,7 @@ mmcc: clock-controller@c8c0000 { <&mdss_dsi0_phy 0>, <&mdss_dsi1_phy 1>, <&mdss_dsi1_phy 0>, - <0>, + <&hdmi_phy 0>, <0>, <0>, <&gcc GCC_MMSS_GPLL0_DIV_CLK>; @@ -2890,6 +2890,14 @@ dpu_intf2_out: endpoint { remote-endpoint = <&mdss_dsi1_in>; }; }; + + port@2 { + reg = <2>; + + dpu_intf3_out: endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; }; }; @@ -3045,6 +3053,96 @@ mdss_dsi1_phy: phy@c996400 { status = "disabled"; }; + + hdmi: hdmi-tx@c9a0000 { + compatible = "qcom,hdmi-tx-8998"; + reg = <0x0c9a0000 0x50c>, + <0x00780000 0x6220>, + <0x0c9e0000 0x2c>; + reg-names = "core_physical", + "qfprom_physical", + "hdcp_physical"; + + interrupt-parent = <&mdss>; + interrupts = <8>; + + clocks = <&mmcc MDSS_MDP_CLK>, + <&mmcc MNOC_AHB_CLK>, + <&mmcc MDSS_AHB_CLK>, + <&mmcc MDSS_AXI_CLK>, + <&mmcc MISC_AHB_CLK>, + <&mmcc MDSS_HDMI_CLK>, + <&mmcc MDSS_HDMI_DP_AHB_CLK>, + <&mmcc MDSS_EXTPCLK_CLK>; + clock-names = + "mdp_core", + "mnoc", + "iface", + "bus", + "iface_mmss", + "core", + "alt_iface", + "extp"; + + phys = <&hdmi_phy>; + #sound-dai-cells = <1>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&hdmi_hpd_default + &hdmi_ddc_default + &hdmi_cec_default>; + pinctrl-1 = <&hdmi_hpd_sleep + &hdmi_ddc_default + &hdmi_cec_default>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hdmi_in: endpoint { + remote-endpoint = <&dpu_intf3_out>; + }; + }; + + port@1 { + reg = <1>; + hdmi_out: endpoint { + }; + }; + }; + }; + + hdmi_phy: hdmi-phy@c9a0600 { + compatible = "qcom,hdmi-phy-8998"; + reg = <0x0c9a0600 0x18b>, + <0x0c9a0a00 0x38>, + <0x0c9a0c00 0x38>, + <0x0c9a0e00 0x38>, + <0x0c9a1000 0x38>, + <0x0c9a1200 0x0e8>; + reg-names = "hdmi_pll", + "hdmi_tx_l0", + "hdmi_tx_l1", + "hdmi_tx_l2", + "hdmi_tx_l3", + "hdmi_phy"; + + #clock-cells = <0>; + #phy-cells = <0>; + + clocks = <&mmcc MDSS_AHB_CLK>, + <&gcc GCC_HDMI_CLKREF_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "iface", + "ref", + "xo"; + + status = "disabled"; + }; }; venus: video-codec@cc00000 {