From patchwork Fri Mar 24 19:20:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Yacoub X-Patchwork-Id: 666602 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 6F812C6FD1C for ; Fri, 24 Mar 2023 19:21:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231725AbjCXTVq (ORCPT ); Fri, 24 Mar 2023 15:21:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjCXTVj (ORCPT ); Fri, 24 Mar 2023 15:21:39 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C41F21941 for ; Fri, 24 Mar 2023 12:21:22 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-536af432ee5so51804217b3.0 for ; Fri, 24 Mar 2023 12:21:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679685681; 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=lJ8XMXUhDPNrl814nUboxXrW9LkyTici68uktBtSFp8=; b=Gug0ZumIn1UylDxhvbqxUS+bINRAS8W4dXpD1MOe6byJM3Kja8vIhbgKsnCOlVVOA7 YvCkg8dzQgryMAtJRG4Gz1d6wN3Xn5xnPxwG4e1vmHI+2FVuF7+x8So+0ZtY5zxKSBCc tc0IevkVO4dkUKnVvUevmYdz/HwOW/+xyg0No= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679685681; 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=lJ8XMXUhDPNrl814nUboxXrW9LkyTici68uktBtSFp8=; b=4RN0a8R32/WerDa19DK6FKWLOWEhcOlU5wqup8HO0JeGa250nyxfq09TGYKgy/ePgo dp4ho+xJW/o/PAuqAVu/FTJXGpO6PR+GrNhqIkleUjDoVdUm1AynO34ap+BiF4X6bFIv 8N9VQrR+pOX6GxyK90JE6BUKCRt1QZxwA73OaWhMDl95HWCDR+aBzoFRlS8xu870zPIz KVQF5g7XmJrSnXXtxDly1qFgilgck1DhKcvbsUH3pNVXV/0J+3dFSx1xLVFmvgceorit 4nnzE0LKqi6A8XN6gK8k9Ml6ZeaCe8yltgH9NOPlx3eSFZQU2tk5/rI7796gEVHoat4u jEEA== X-Gm-Message-State: AAQBX9d1TD7sfqQlWOh4Y482MpxrGSdCxVLD2SiShdByoZo1sYI6CNIv f6z95rOYjYxI5R5YYahIwFj6Gw== X-Google-Smtp-Source: AKy350bTk62uFLFRuS6ojfmjxURcWda9IHExZzp27edtntVBJkfMxRPT03mh7E2XNEYoynGH0H5Zlg== X-Received: by 2002:a81:910e:0:b0:4fb:8b40:5899 with SMTP id i14-20020a81910e000000b004fb8b405899mr3154094ywg.7.1679685681366; Fri, 24 Mar 2023 12:21:21 -0700 (PDT) Received: from localhost ([2620:0:1035:15:5509:ec45:2b32:b39f]) by smtp.gmail.com with UTF8SMTPSA id i21-20020a81be15000000b00545a0818479sm569386ywn.9.2023.03.24.12.21.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 12:21:21 -0700 (PDT) From: Mark Yacoub X-Google-Original-From: Mark Yacoub To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Kuogee Hsieh Cc: seanpaul@chromium.org, suraj.kandpal@intel.com, dianders@chromium.org, Rob Herring , Stephen Boyd , Mark Yacoub , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 08/10] dt-bindings: msm/dp: Add bindings for HDCP registers Date: Fri, 24 Mar 2023 15:20:55 -0400 Message-Id: <20230324192058.3916571-9-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 bindings for the MSM DisplayPort HDCP registers which are required to write the HDCP key into the display controller as well as the registers to enable HDCP authentication/key exchange/encryption. Cc: Rob Herring Cc: Stephen Boyd Reviewed-by: Rob Herring Signed-off-by: Sean Paul Signed-off-by: Mark Yacoub --- Changes in v2: -Drop register range names (Stephen) -Fix yaml errors (Rob) Changes in v3: -Add new compatible string for dp-hdcp -Add descriptions to reg -Add minItems/maxItems to reg -Make reg depend on the new hdcp compatible string Changes in v4: -Rebase on Bjorn's multi-dp patchset Changes in v4.5: -Remove maxItems from reg (Rob) -Remove leading zeros in example (Rob) Changes in v5: -None Changes in v6: -Rebased: modify minItems instead of adding it as new line. Changes in v7: -Revert the change to minItems -Added the maxItems to Reg .../devicetree/bindings/display/msm/dp-controller.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index 774ccb5184b88..c47ade3a4ae17 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -31,6 +31,8 @@ properties: - description: link register block - description: p0 register block - description: p1 register block + - description: (Optional) Registers for HDCP device key injection + - description: (Optional) Registers for HDCP TrustZone interaction interrupts: maxItems: 1 @@ -158,6 +160,7 @@ allOf: aux-bus: false reg: minItems: 5 + maxItems: 7 required: - "#sound-dai-cells" @@ -175,7 +178,9 @@ examples: <0xae90200 0x200>, <0xae90400 0xc00>, <0xae91000 0x400>, - <0xae91400 0x400>; + <0xae91400 0x400>, + <0xaed1000 0x174>, + <0xaee1000 0x2c>; interrupt-parent = <&mdss>; interrupts = <12>; clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,