From patchwork Thu Jul 22 02:42:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 483851 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6762827jao; Wed, 21 Jul 2021 19:44:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycW6S/ojcUUmujrSJPffQh1bddM/HNJXlFiaaC+iqoFg3R9muhLdYjqd5nq4KFQGGTJApI X-Received: by 2002:a5e:8d16:: with SMTP id m22mr5482887ioj.60.1626921857356; Wed, 21 Jul 2021 19:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626921857; cv=none; d=google.com; s=arc-20160816; b=E2lJQ3FlvYEEdeUJT8GjL8JsC7QSTeVR+nwas7hqbD6N6a7uN1Mf2N9qaGBHZeyW76 cmxud26KxOGhp2YCSl1PJ+SzwwKViQ89YVQW5UytPJeGHAkz6ftwXunUbvpdrnEq61kO o5+fRiPayLJzf5eRHMe5EIr7oJudgTpPiL1pbxlFSO1cjYHF4kLdafHUHCIr92BpGq6Q elUVXwNa9iSeB38EH0bhm9usjTPK69qfReM4GLgVelpfMxz+4IJ65eB/KzDPk6uybTGj 6gOCtyCwBmHa+MNUojaEgJeqfdwk5vvEa/fKM79tfTIfPgaqMapcywJmMf/Odk27ntrE AK7w== 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=MS6mraKNigkKOXB/hgjulPSCM2yRlqN2uoBBxxKVwTA=; b=Sdh/+sN9PZHn0hIG/jNgnzfDcfQzFGROoTd5y2FF259W2CvmzMC7puDnDMqY4iGHZ8 Xu7ql7ezbsLxUzzJuEr2D1ERNHtnbACKTyMitHoVr62KzZ66w9hUGaUi5JTkfMtT+hbN lPEPPzxUM3NyXexJ5dYv3P23gSp8yg7MC5iVPwGf5RCz1TWzKpp39/cKBtRJsM4g0Of+ 4H7PQtvBxx3+vjutrLKvH/zQvR6jgwBW2VjGzbpi3vUFHTkNfP2GfDurGdS5al5pmfZ3 rdRcLkkm2OXkNHQJnypCT+3Ft9SvhPR0MhHaQoafApY5Z4QChZecYIIoXIrIDrihpHCZ YYwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z5cEQ5Hw; 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 z7si1358727ilq.32.2021.07.21.19.44.17; Wed, 21 Jul 2021 19:44:17 -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=z5cEQ5Hw; 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 S229932AbhGVCDh (ORCPT + 7 others); Wed, 21 Jul 2021 22:03:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbhGVCDg (ORCPT ); Wed, 21 Jul 2021 22:03:36 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E764C0613C1 for ; Wed, 21 Jul 2021 19:44:12 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id s2-20020a0568301e02b02904ce2c1a843eso3966139otr.13 for ; Wed, 21 Jul 2021 19:44:12 -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=MS6mraKNigkKOXB/hgjulPSCM2yRlqN2uoBBxxKVwTA=; b=z5cEQ5HwZy9cTyIhfxc5PZgxuUQae88VaPXcolle0LA4mxwW5kYraR3GpN/EW8J8Eh IOBlIeS4wRe3w+fTRbu14xlJ38Jo9YmjMYy+tZgMisWvQ/PfPsJjCwBaxTL+aaq3xUou h5680hBeio40Oms+w7uNvWOmD7RaNtBVnRMfdlp/tWgjsmEUDDTafy9bytnngOF+Yxja gjw6vax6X2GZqox1hP0bffCa6tt2FTU/2ZvG+nYhrjpIdUGL2HKfUdmZoAl9gI7fOXiu fbXgs6WyE8lr+COg/7PCUV7ZMYKJtrlnWdPYm+ygMbBzGyXQwicPRjzNHeoKODRLNJWw MyDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MS6mraKNigkKOXB/hgjulPSCM2yRlqN2uoBBxxKVwTA=; b=gyq8DgvLo3gCYanWQyVRoC/l87bWtVwy8sItcGL8YNzBjUueuZ+pbUxy/qu45TIbxw VDl11/DCpEHvQJKIQQ0HuQmoohNuUsyV9HZytLVSJMxdE5Zcv2O9Wa1x0wZTRoqpOvoJ vqk/8NoLe2pr8DzAqoFR0A5viOfTMvUeUhlNwMDmnJobgE/ausJfHp0A0SgouBdhMQyr rxktO7L2bntafbBg/N3Uasrra7N9lhwFl4oqL0CcOL6ItMFdp0ujaFQMMnkaFCSNVy+K P4saJMZaIzlgSNrcE1xfJuEsNGYEXR31hV5JsGM28Q0PEJ9y66iCmMvzCHevuTO5CrUC wI3A== X-Gm-Message-State: AOAM532ikGPsc/iDLJqScW8uMjOEztPsi3V/IBXkZ2hXe1Yo6RuW9nrp 3P2mLFrLMjYC9HNSoPq0asqJOA== X-Received: by 2002:a9d:7dcf:: with SMTP id k15mr21901596otn.201.1626921851922; Wed, 21 Jul 2021 19:44:11 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id u18sm5346519oif.9.2021.07.21.19.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 19:44:11 -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 Subject: [PATCH 1/5] dt-bindings: msm/dp: Change reg definition Date: Wed, 21 Jul 2021 19:42:23 -0700 Message-Id: <20210722024227.3313096-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210722024227.3313096-1-bjorn.andersson@linaro.org> References: <20210722024227.3313096-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. Signed-off-by: Bjorn Andersson --- .../bindings/display/msm/dp-controller.yaml | 11 +++++++++-- 1 file changed, 9 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 64d8d9e5e47a..a6e41be038fc 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -19,7 +19,11 @@ properties: - qcom,sc7180-dp reg: - maxItems: 1 + items: + - description: ahb register block + - description: aux register block + - description: link register block + - description: p0 register block interrupts: maxItems: 1 @@ -100,7 +104,10 @@ examples: displayport-controller@ae90000 { compatible = "qcom,sc7180-dp"; - reg = <0xae90000 0x1400>; + reg = <0xae90000 0x200>, + <0xae90200 0x200>, + <0xae90400 0xc00>, + <0xae91000 0x400>; interrupt-parent = <&mdss>; interrupts = <12>; clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,