From patchwork Fri Mar 24 19:20:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Yacoub X-Patchwork-Id: 666974 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6758C6FD20 for ; Fri, 24 Mar 2023 19:22:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231846AbjCXTWB (ORCPT ); Fri, 24 Mar 2023 15:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231794AbjCXTVm (ORCPT ); Fri, 24 Mar 2023 15:21:42 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A2F7136EA for ; Fri, 24 Mar 2023 12:21:24 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id e65so3491592ybh.10 for ; Fri, 24 Mar 2023 12:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679685683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RhYYIOBYcZyuSgRg3T8Pd2sS16OkXMZ4m3rP2gSu380=; b=IxQ9BzXnYSPa1QnTPgUSoRx25yGlwfLr4WHZF46P/B6oGmszMeestGYxwJb9ZT84cZ Cx+gMh+NfggAHYRxm9Um6EPimTmF3QnORHqLYaWwQNVTB6F12Ewgb/5Ls0T5nzm9penU bKViydN+qJTaT1uHudK2602D29Q/RFw8rLjZs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679685683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RhYYIOBYcZyuSgRg3T8Pd2sS16OkXMZ4m3rP2gSu380=; b=lQwjh6KTUkRG1FRdJjm4RJEqK7GzTiJTsy1UHxuVbg6isXAOOU+w0QLywAhnoBBKZQ lvBuS2y50kNbwdarNOeKMn11h89P1chWGcfXiALGx2H0rQBgPtEi8O+14vt8GNjN3eAI 9fbxWPj+3A75AqnrRuXfRGkPSmh2JmBwJN4L+t1vSX37du4IcJv6Dwhj2ayBFcKnLi3e t7nbc6xA2R4OITvlelFjl5MRfZ8GmBL2/NAqSOcoAEVK0QT/N/LaeoYmV83RiGmrBB64 nv9POzaUr16Gy52Tf7sDqg6aKSbPS6hiy6/d3MN4vZa7YAIaeX+wb3XevcZqGFTZOgs3 g5vQ== X-Gm-Message-State: AAQBX9fia/kyBG/9EDmcWKJ1HqT+KSE4RNbZiHCUiQFzSyRd59XKxmCP ec2mmhlIUL+uk73ZeozeYMDaXQ== X-Google-Smtp-Source: AKy350ZU79V/rk+pT+tgbo7G2hjW8IMI26yJkkul5Sw6P86HKsXr4RYYXZ70nR/c/SzrjmN8JMynPg== X-Received: by 2002:a25:acca:0:b0:b00:1db8:f3a3 with SMTP id x10-20020a25acca000000b00b001db8f3a3mr3568093ybd.20.1679685683315; Fri, 24 Mar 2023 12:21:23 -0700 (PDT) Received: from localhost ([2620:0:1035:15:5509:ec45:2b32:b39f]) by smtp.gmail.com with UTF8SMTPSA id b140-20020a253492000000b00b7767ca7486sm624204yba.35.2023.03.24.12.21.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 12:21:22 -0700 (PDT) From: Mark Yacoub X-Google-Original-From: Mark Yacoub To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: seanpaul@chromium.org, suraj.kandpal@intel.com, dianders@chromium.org, Mark Yacoub , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 09/10] arm64: dts: qcom: sc7180: Add support for HDCP in dp-controller Date: Fri, 24 Mar 2023 15:20:56 -0400 Message-Id: <20230324192058.3916571-10-markyacoub@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230324192058.3916571-1-markyacoub@google.com> References: <20230324192058.3916571-1-markyacoub@google.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Sean Paul Add the register ranges required for HDCP key injection and HDCP TrustZone interaction as described in the dt-bindings for the sc7180 dp controller. Signed-off-by: Sean Paul Signed-off-by: Mark Yacoub --- Changes in v3: -Split off into a new patch containing just the dts change (Stephen) -Add hdcp compatible string (Stephen) Changes in v4: -Rebase on Bjorn's multi-dp patchset Changes in v5: -Put the tz register offsets in trogdor dtsi (Rob C) Changes in v6: -Rebased: Removed modifications in sc7180.dtsi as it's already upstream Changes in v7: -Change registers offset arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 47f39c547c41a..63183ac9c3c48 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -816,6 +816,14 @@ &mdss_dp { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&dp_hot_plug_det>; + + reg = <0 0x0ae90000 0 0x200>, + <0 0x0ae90200 0 0x200>, + <0 0x0ae90400 0 0xc00>, + <0 0x0ae91000 0 0x400>, + <0 0x0ae91400 0 0x400>, + <0 0x0aed1000 0 0x174>, + <0 0x0aee1000 0 0x2c>; }; &mdss_dp_out {