From patchwork Fri Mar 29 07:45:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610258 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 A31E040869 for ; Fri, 29 Mar 2024 07:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698360; cv=none; b=TKKvK4CF1G4oivvopTZzaIMVr156Lfolo12rHG9FSTGqwtkf9Q4rvHaFvCp3FcYYoUlfIKtGulYpRfS3Pa6T/wRcaL8Y+WUd504uA0ZcvkKOnOuKZUYIpnYIfMoP5BLZklJYjxLw0CJ09IV5nScnoq326dkIhFDD9FxH3iNHiyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698360; c=relaxed/simple; bh=QTZb3SliXj7z8d9Aptik0u48ClR998kWst6mXqAlvu0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=r/kfvok1p4qXCWV+L8JKX/gXHQo3yedK+eavwkgvhLabsVgXnwDCcH0P2q0hpsNQ/eiT0Ac7Dx6B7+SKOpX2AytPks1f44otbMFHX4gH/vwlVeJAaCMMwnRU8J+7GhuEaARl7sq2svgS0JQYO3nRYH/3T73tO6DvPfetPLnXioc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=V3bWzeR9; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="V3bWzeR9" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a4751063318so219742266b.0 for ; Fri, 29 Mar 2024 00:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698357; x=1712303157; 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=ktUevP6u8w4KHYW86f+K8GcdXFfL/uIUgZtZWzBIQhc=; b=V3bWzeR9f0eGWA21t3UsW59agntbPiPpdv8LziYG5lDgDALT2m+yjZzIF3OyUSzJYI Gv7nCWrXjkGfebsH5A2YZEZajGcDWidzYD0492Qi27yNfIDWwsmD0IiNs7ZUOacstv5/ LHRMDjxEjckZC0ZDPq+2SmHNX/RwbSYx8z2UtuuPcX3twpPpzaP1IxjAvuYNrIjUPvd4 VawCNcLIhVzHWAhythuHDavCP1xlvQ7mxzJ9lZXaMES0n2ACm9G9eDgyeqMI+5S1qm7C 1f8IqtOpi5WD1728lwHQa5lpfaRWFNDn9OrTqT/j3Ssow1e74dGK7qNimPA+SIjYOzWJ 8fcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698357; x=1712303157; 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=ktUevP6u8w4KHYW86f+K8GcdXFfL/uIUgZtZWzBIQhc=; b=DvkOu1i0wdvDbEa3yb7W9GS7cHRFywmy11oOq8KTHbX5/jTlLpHXowA6VSKiML5kDY d/JOwXZzciTuQbMke6xdU3m7iCjCFDl7YAWKJJ+6mLY+u3JTQ2i1QVYLltjow+nTN4Vf 9HPMje/8oaJaWtWYnoE0OK6ZdXZIWBJxBfTSYsoNQhwDLQVCLi36DTCL++gT5jsUWu+S mXDi0pKUJrRInwQ/JoIK+qjb+rRg1aiM+qHTHlTqBz3hGJG/uWF0KB8IcLJaxAAdpWsz P7beeVvI80gGOzvoEWvBBn0QfHMPserRA2FKjgb3x3WlO/LlpMUH2urdkFVY/w82u1Y0 p8wQ== X-Forwarded-Encrypted: i=1; AJvYcCVdIpsquWTomcevAu0BCuQoHPMGQpH0/UnVmW7tvB5SpFhA2F4F3w/SsQqG8AofysXKmSD8MENChCMAmd6ffmLfVhvL2hEVW0v4VZhK3w== X-Gm-Message-State: AOJu0YzvRayy53eXM6c2zfo5NGCwqNis8QkQt2XkrLhSxWszIs96tcRA Fdw1t54AVn+Wo8Zr9f/tSBtD2Au2iw8F5Z4RREy8HclBSeLAPth9CDWWtPuT1dQ= X-Google-Smtp-Source: AGHT+IFa6363X6GOmkR4BsEQwG0xCUHGlbVBpxaeQsPeMOww1hYOuly/ejvvRwJqZ9obHOITNtL4iQ== X-Received: by 2002:a17:906:5053:b0:a4e:2a62:7eb6 with SMTP id e19-20020a170906505300b00a4e2a627eb6mr863656ejk.51.1711698357114; Fri, 29 Mar 2024 00:45:57 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:56 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:54 +0100 Subject: [PATCH v2 1/3] dt-bindings: display: msm: dp-controller: document SM6350 compatible Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-1-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Add the compatible string for the DisplayPort controller on SM6350 which is compatible with the one on SM8350. Acked-by: Rob Herring Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index ae53cbfb2193..97993feda193 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -29,6 +29,7 @@ properties: - qcom,sm8650-dp - items: - enum: + - qcom,sm6350-dp - qcom,sm8150-dp - qcom,sm8250-dp - qcom,sm8450-dp From patchwork Fri Mar 29 07:45:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610260 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 2C32D405C6 for ; Fri, 29 Mar 2024 07:45:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698361; cv=none; b=PlVAfyr8fI66QVTI77X3612s5Ar6fJzHfBPEKyYZUCZxp7TzmZVflc3VvzyI35VCbqiRsgXLaepUnqerU9nul+VHOfMwL240hpSkYR7UiVLJ2wKqAY/Ra0nNom7foXpHcffCKk6gmNCtjoTfctR5E0dQinm/dSdLKwihFdoQA0w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698361; c=relaxed/simple; bh=25Qs8m6volBcpFuS55c6sWHasm9Na16Ss/X8GJM+fYI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MAXCxEgDQ6qqdS4/puVL8f0sEomyfWZVwST0dBFBr/O3xjIDuUWHhb/QcvEoQBpyzoKOdK8OX+4IDubn2v4ItKpAUVD3SrZN6FbNeOlCGHbtBySKknNs26mkDUfjyYoNd4auk1dqxNTkU78HQt1u+GjczgMtqCDk0rcLdu4/p/U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=fcPsTL2u; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="fcPsTL2u" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51588f70d2dso2016886e87.3 for ; Fri, 29 Mar 2024 00:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698358; x=1712303158; 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=4McqOYY3UTRJyQ2CjaqCL8nyfMiP9YKrs8lnA2q8yiE=; b=fcPsTL2uKOBwHe5Qt1Q3CRLPsaY+jd4DOQC2CZIUK/52r0E78rkCH1FsonjFNj0a8s LeTTx9CifDc7ndQRbR8F3Di6st1w3RUYUZzMz3HL7Iaf3cbQNn9KHF3AuZ7bVCCTHa8O QeygeGBxeroImGDK9g+YHPLuSMrAcGblmiZeHd5y0I4C5Sp14CRVtFdcZw18c0n32fSX CjdQTGBKWZKA78gOLoYnTDA2xCkmn2HF5BQQq1rjd8cQyHOUh73wnoTzHqErD/pzK512 6BvES/m7wS//9RSsRb0ZxiLz0f+2/D+gmncGPDd/qZLMUx6YIrZGIU9Owv05UHx+STdm YjKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698358; x=1712303158; 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=4McqOYY3UTRJyQ2CjaqCL8nyfMiP9YKrs8lnA2q8yiE=; b=CkhQYVrx+fJYOSvysDiGJpkGF4xISC8dkY1QwwvcKIxUYwa9NshjKZfMS/ynQVnF/K SnMRRb9rF5i1zyskVemuZYmxEfhFpUDfzgR5BHiKIhJPNczUZbu2HUROwIzBEqLj+FSr +ldPWmQvwcNe5DB1QhspMEmmPFg0LMR1WVWp1VXGx+1+Ssh8hu3ZNYYN/SE8pYduah12 tlSrVLt8/b8ovTOBV0w57tkbnTdittdxPQB2ZVeT9QUghSUvyixBAyxVQ+92PSOTMqT1 zEkQQyreasFgx/Cj1my2OlFcMi5AoYLflDJnJXCyY8EFl4XtebFLhIWfjAzzv87JvVDO xruw== X-Forwarded-Encrypted: i=1; AJvYcCUhXUfeIUVYvkH/kfobDBM7c7AB/NCKDZbbQMhKGOovrLw3ljPErsOtyU5doARMCUvuJZ8RuOib+G/zzNhMNOhVlmoOHZSaMW6snQmLsA== X-Gm-Message-State: AOJu0YywjYIRo+O2gkbCI8TeHha4PWCZPtfJJyU03/fKQMYiX07cZxkJ xMiOKTsafRdZ/1ZCzE3c0BJgA1QGbBKfgGguu5FuSeqRUdRDfxSDrEqyOIkBWws= X-Google-Smtp-Source: AGHT+IGr9SjS2/x9Bg3Cg9sAk0T6zHFzcOeMV4fzLJHUxJzzp46Etz1DP0Mivc1g9nSdBVgZiLJLTg== X-Received: by 2002:a19:2d06:0:b0:513:d8e3:fe3d with SMTP id k6-20020a192d06000000b00513d8e3fe3dmr976784lfj.26.1711698358274; Fri, 29 Mar 2024 00:45:58 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:57 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:55 +0100 Subject: [PATCH v2 2/3] dt-bindings: display: msm: sm6350-mdss: document DP controller subnode Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-2-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Document the displayport controller subnode of the SM6350 MDSS. Signed-off-by: Luca Weiss Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml index c9ba1fae8042..bba666bdffe5 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml @@ -53,6 +53,15 @@ patternProperties: compatible: const: qcom,sm6350-dpu + "^displayport-controller@[0-9a-f]+$": + type: object + additionalProperties: true + + properties: + compatible: + contains: + const: qcom,sm6350-dp + "^dsi@[0-9a-f]+$": type: object additionalProperties: true From patchwork Fri Mar 29 07:45:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610261 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 0CFF14120C for ; Fri, 29 Mar 2024 07:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698362; cv=none; b=HgNOTHrA+HBWgyDhFkgRm140Ix8hxbAfDtdci6OoCAnx0bkus81PN79VylhSBQLn+5xdQlyqzrsp0mBNEGXr9b978qHuVqNwAQGeExA2ueX2UDwjtj6HDhSsJgcGIny7VUZNmuZuKteUf8exmtiOwtVnjea9qA8lksOaaWfi/zM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711698362; c=relaxed/simple; bh=n21rq1fCcOmI3LogGCsxivAQaiA2nOT681cDr3he6c0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pvj7ogTV+aQsRZ0CS7boUsSQmX5sJUb1QH4ZFX5xhWmVbX1FnDh5cs8WYPQG7CPQ4OobF9DQ6ID3oFx/YpmSffATdwF/hs6fYKOA2pw0Iv8Cn4QyAnl9aF93cBocF8fOsFuSsunGne9B8dB+sjtHgcpf9E4aIGuDGs4T0y9VB4U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=I91P/lLq; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="I91P/lLq" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a4e28b10a53so130296266b.3 for ; Fri, 29 Mar 2024 00:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698359; x=1712303159; 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=lcotkK4GO99SFGIIH8jXD+5kvmn1tNTmHBz7CWYrF30=; b=I91P/lLqOM6tmjHySPQ/xXKvsC/CtoEgiawiWFAqkVcGgKc1XShfsWkIfl4aM+ydiX Pzvpv40Wgzpaqg0KFE9kxutXawBhH6IDIpnJgCL+H2hQLnNJvhyQxcSj8ui46ami9sw8 5DL4DBIWkZvyhVbAOm/n40ZR19BOLjkaoc316yQ+92mXYzNFHZAZCJzmXQm4tKNqpt5Q iwdxHI7wvbsrg6kcfRXgv4kZPT8+n9zsrVEVJrusSkA93/gTPxPV8zMir6cCh6zxrEyj 9k6cWSHVoI1grlOjafzlVVtlfaX9G+lTgfWjK2NIFYRS2vgxUzQFZZUUThk8UTcazDLp EOMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698359; x=1712303159; 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=lcotkK4GO99SFGIIH8jXD+5kvmn1tNTmHBz7CWYrF30=; b=CejCYuLjri1wXkNvQjFo7soirUm4HZg4QDjdKcXJTlOI/36s80hXIr36aXLdsADRmu yBkBGQbbukm5TXS4YsqqYlXzg3GAPq9bn29TAfPKa2LH/FrCuyzsKfRPdmsVeHH9XJHU HccliJO/urapMOWSw6sHei0NnJAvxk5sgfwBTAO8knIbbdQerIZVaxbFN5aVn42bsORF /hTMRZX1F3RIFwwmw9wqkhRgh4riadYD5xp/242YqGSaZPi4ciR1iqr+KmwitT6UjGhy I4/luKoDqBlrD+URmuaS+JHQ20QL9cLSVUIqvR9gVzcEZzWHcxMJvTMsHKuPdt3AHPHa 6XEA== X-Forwarded-Encrypted: i=1; AJvYcCVFni7jGrCRMZUOq4JEvvxd+ZnwMxfY6xVe66ijSXei8IMkG3AWYJ5JsiIFz1OFCcTAoFozDI1+0JPNzkTGOBwoPh8/sl51SRY60zsePA== X-Gm-Message-State: AOJu0YxGxj5ruVIJ7+8BXViwRWUByAWqNDsQmGvTD4dAka4jNe/tWfLc tSM5WMI9/KYUuBBmEPaVxLXgRC3qieCFwZUa1VqRzQU7+6kGFDQuCKLMFHCZy/E= X-Google-Smtp-Source: AGHT+IE24627ppy3W0EYA3xkVYAvPY4pdoTFgJaCVO/S+vc52RfohmJ4tnXqThQoPHfY+9NaDMJ7Ng== X-Received: by 2002:a17:906:a88a:b0:a47:5265:9aac with SMTP id ha10-20020a170906a88a00b00a4752659aacmr859536ejb.55.1711698359536; Fri, 29 Mar 2024 00:45:59 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:58 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:56 +0100 Subject: [PATCH v2 3/3] arm64: dts: qcom: sm6350: Add DisplayPort controller Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-3-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Add the node for the DisplayPort controller found on the SM6350 SoC. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 88 ++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 24bcec3366ef..d7cf4b5ceea6 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -2033,6 +2033,14 @@ dpu_intf1_out: endpoint { remote-endpoint = <&mdss_dsi0_in>; }; }; + + port@2 { + reg = <2>; + + dpu_intf0_out: endpoint { + remote-endpoint = <&mdss_dp_in>; + }; + }; }; mdp_opp_table: opp-table { @@ -2070,6 +2078,86 @@ opp-560000000 { }; }; + mdss_dp: displayport-controller@ae90000 { + compatible = "qcom,sm6350-dp", "qcom,sm8350-dp"; + reg = <0 0xae90000 0 0x200>, + <0 0xae90200 0 0x200>, + <0 0xae90400 0 0x600>, + <0 0xae91000 0 0x400>, + <0 0xae91400 0 0x400>; + interrupt-parent = <&mdss>; + interrupts = <12>; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; + assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, + <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; + + phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>; + phy-names = "dp"; + + #sound-dai-cells = <0>; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SM6350_CX>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mdss_dp_in: endpoint { + remote-endpoint = <&dpu_intf0_out>; + }; + }; + + port@1 { + reg = <1>; + + mdss_dp_out: endpoint { + }; + }; + }; + + dp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-270000000 { + opp-hz = /bits/ 64 <270000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-540000000 { + opp-hz = /bits/ 64 <540000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-810000000 { + opp-hz = /bits/ 64 <810000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + mdss_dsi0: dsi@ae94000 { compatible = "qcom,sm6350-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0 0x0ae94000 0 0x400>;