From patchwork Fri Oct 1 17:43:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 515084 Delivered-To: patch@linaro.org Received: by 2002:a02:606e:0:0:0:0:0 with SMTP id d46csp1020318jaf; Fri, 1 Oct 2021 10:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHs26zboHjhiBXP7h+E1fMlV7xCUjFNuXc7Ul2XhJfh7XKhblvURw8Ak1eDVSwDU2POZ4O X-Received: by 2002:a63:585c:: with SMTP id i28mr10622983pgm.70.1633110145223; Fri, 01 Oct 2021 10:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633110145; cv=none; d=google.com; s=arc-20160816; b=EcQMfSrCXCZRjeXVFEtgQDEcYeBxSRjzoCew0uY6yjesRH8WJ2JXeB4u05ML3NcRC8 65HqyK68vtuURvUYaFdwaH2/rChyLmbNZb+EiaM6fOyaeD1G7HsdDyrjm1lrkrJU7YSB 1/di22sp45o9rYqILdMwdQBQulQsMPNE+N9hyDb54WDCfd3uK5nddcr9lHMjMK46P1s4 x651WfvhKrtEk0lRRvNo2qXyLsXTFD7n+68Kzd96SRXoc4RYP+BgtO5BZaR8k9tX4yP4 1anepBV+AxmUqeKkAf9+YA5xBurIWtj4OJD5MMQZdfzYZHq/zRwkFTa4pNNtTkDRgiLR tNyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1XfRi83lxmTXo1mPygdX7KTNkhcpA1zU3QO1+ROpzaM=; b=PD36A4JzA66i+q0aE9OzvSX6Cw7TLK69cCxwBh515uKXETaGQv/iJLl542ESyt7OBI aANPz187ow1TWFyqyHezte3CyFAt49UKjIfhX0rLzTXb330eL4xmns85Ptl6lsBlLJSr BCp4jdrfCDER5ZDdHFWBojPXQv+PekTVgw/kQ4XYC4gUGvgHzdJANDOfgKS1RvEfo/re i/osnGgFGpbBDWgGwM3a2v+c/FGEZbhbyFHPdsRuDunmcK9FUW8zlzHMEs9kaBC2hajx 5t9iSBN1UgedqNFX//f6aZnvAy1vM6gtbvM1VC8z4MvUm9Lbd1RuuMzCxEmuSKhOEqit 351w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BjV/LAd5"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f184si8092847pfb.67.2021.10.01.10.42.24; Fri, 01 Oct 2021 10:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BjV/LAd5"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355399AbhJARoE (ORCPT + 7 others); Fri, 1 Oct 2021 13:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232084AbhJARoA (ORCPT ); Fri, 1 Oct 2021 13:44:00 -0400 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 223BFC061775 for ; Fri, 1 Oct 2021 10:42:16 -0700 (PDT) Received: by mail-oi1-x22e.google.com with SMTP id s24so12342202oij.8 for ; Fri, 01 Oct 2021 10:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1XfRi83lxmTXo1mPygdX7KTNkhcpA1zU3QO1+ROpzaM=; b=BjV/LAd5fMomk9CbkbZKRN1uPjTa7v3BRm90A2QbqxBtlPl4Ni9iDnE+c2Oqfgt8Y5 hAkvSt/rafwEPaawca5eo3p/IGZH6fiDeTm26ytEV3Zw+X1q2g50HOoldTXNwiRLnqy1 cGXIM8tSivoVPDrAPTJIiA1e6dttoq+LwXDZVX4pnxCX7nr9C2x97M/iQa+mWAMMzh/j gy+rxYYWOohi+7TL/Un3OYYdBmWZ9MGi2hD7uZOvWrcATewcmSq+4gDL7jhoLAg49ddH g5YG+b31MtqoI6ip7vhMTtf/PjdhwVfpIsy6MX+IVHU/SCAA1QKmXi3SHoB2DUKjGGPe 3v/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1XfRi83lxmTXo1mPygdX7KTNkhcpA1zU3QO1+ROpzaM=; b=f70i21Mu634zNwAa6zE+tIaX2xuN9/jjp2+w93BT7CDyvUvWsgmACUWcFosy7PwKDs PMMXnOlucWvcobUbfeLprKdkRsNww+QoSac5FS1qYPUocCluYe/ljZBhOT9AyFArq2Ez maIiUYaqgupa1nz/lYMLCVqPJ4xjU1P7+XTK6w9awRONx4MfNW26DElh11O6x/BrsY56 9oVNpaKsITsw7g4WkJvnU2dn6N06JkdwrH8yfsViK5qgbYVXe649vMC5vC9LE/3iXw8o DCnWvYqzFZ/QOr74v9ZZ2NG1YxqcPeyELcOhou3AoUyLFVjY0JF7tdBE1pz+GSjgglzj nVww== X-Gm-Message-State: AOAM533VRNNz404rj/JjcjISCInwn1uIH83Nw1yJZDlw6wJ2jWt0homG QQwDO79bK1E76yLWYMNRk6gokw== X-Received: by 2002:a54:410b:: with SMTP id l11mr4806256oic.74.1633110135506; Fri, 01 Oct 2021 10:42:15 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id u15sm1369264oon.35.2021.10.01.10.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 10:42:15 -0700 (PDT) From: Bjorn Andersson To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Stephen Boyd , Abhinav Kumar Cc: Kuogee Hsieh , Tanmay Shah , Chandan Uddaraju , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v3 1/5] dt-bindings: msm/dp: Change reg definition Date: Fri, 1 Oct 2021 10:43:56 -0700 Message-Id: <20211001174400.981707-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211001174400.981707-1-bjorn.andersson@linaro.org> References: <20211001174400.981707-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org reg was defined as one region covering the entire DP block, but the memory map is actually split in 4 regions and obviously the size of these regions differs between platforms. Switch the reg to require that all four regions are specified instead. It is expected that the implementation will handle existing DTBs, even though the schema defines the new layout. Reviewed-by: Stephen Boyd Reviewed-by: Rob Herring Signed-off-by: Bjorn Andersson --- Changes since v2: - None .../bindings/display/msm/dp-controller.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.29.2 diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index d89b3c510c27..6bb424c21340 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -19,7 +19,12 @@ properties: - qcom,sc7180-dp reg: - maxItems: 1 + items: + - description: ahb register block + - description: aux register block + - description: link register block + - description: p0 register block + - description: p1 register block interrupts: maxItems: 1 @@ -99,7 +104,11 @@ examples: displayport-controller@ae90000 { compatible = "qcom,sc7180-dp"; - reg = <0xae90000 0x1400>; + reg = <0xae90000 0x200>, + <0xae90200 0x200>, + <0xae90400 0xc00>, + <0xae91000 0x400>, + <0xae91400 0x400>; interrupt-parent = <&mdss>; interrupts = <12>; clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,