From patchwork Mon Apr 17 15:30:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 84320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2221458vqo; Mon, 17 Apr 2023 08:48:41 -0700 (PDT) X-Google-Smtp-Source: AKy350acHibZ/dv1bFnmREoTsnDSP2X9m4+T6BSKEKA1QLZI1kdA/no2OaGYPoZX6OweIrwSKVAk X-Received: by 2002:a17:903:258b:b0:1a5:1bb4:ad8b with SMTP id jb11-20020a170903258b00b001a51bb4ad8bmr11067198plb.17.1681746521546; Mon, 17 Apr 2023 08:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681746521; cv=none; d=google.com; s=arc-20160816; b=Yww9PgZZWVMmozQKEODiXi9qT9o8xEDCIEDcDxI+3sQprgQc5gZYag3dI4sd1sPOWe XGaT00z3A5BGS9W11Amxxh5Dps2Qw8SJAleuvZd+wDW8yr5AT/AaC6iBchhE0T43Gdr1 27u44EEaR5kLFlXKtXzwWQRrt8qbNhIYDnwRrCOpxndE2RvwgZGEej6ffS7P0Ij5IxlX luS05GwdL/uoRcqgphJSK2B54tv2WC8J3tYMKhxhs0krW07obWGja4C8va+3HtoH2eOd XxvDv6nUUUzl/pos0Sq6btGAuvWaDDt4XU8QGk8gPIolP+DSQLTr9j8Ra5T9l7LQBHNp CKxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=I90y/7rpQhg6YUQFfZTZY2uS59Y2M6cbexfqSajHymg=; b=h1lmg8Q5pGDU0d68zVV7Vt9Y3btsqz7xm6+ZPuRyJ3yVRIErRn0LvNPT/hNJDpaak6 PDrmI1D4UhcDq0xMqHB9yqKK9HIylsDwbQfo/l57wP+e82sh1PaA6iRVv+drGxM3LTTi 1ig3O1d5zPiN6jsoOSR4NqE5CG+icKxDMCmxf5rt2GcatSroDB2rlpfFwOVWG93cTWAu wEEKvNeosREMGxF//+qBrTVr6gDc/9MfQJwPizfUgy72zteYf4/E2l256qhVZLoX6Ea9 ZIVMWQAyZMtz8WmBTaUmKzxaIWLtkZ+9umRw7U66RDnvmZ6O+UecfTgqLNMiuPpbeV+B x5WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cBdpYIQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk13-20020a056a02028d00b0050bef774fbfsi11331441pgb.838.2023.04.17.08.48.26; Mon, 17 Apr 2023 08:48:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cBdpYIQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230443AbjDQPb2 (ORCPT + 99 others); Mon, 17 Apr 2023 11:31:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbjDQPbT (ORCPT ); Mon, 17 Apr 2023 11:31:19 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 942D2B758 for ; Mon, 17 Apr 2023 08:30:41 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4ec8143400aso1573836e87.0 for ; Mon, 17 Apr 2023 08:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681745425; x=1684337425; 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=I90y/7rpQhg6YUQFfZTZY2uS59Y2M6cbexfqSajHymg=; b=cBdpYIQkmpBvQcA19uIxq8DIzIxn/YHqxAMe1ne3kE4qr5osry4Gxa8uc/YU7f4e8H S3g+89G0OXAuHXlLKUiP1L8xZzouy8FdyNpZUmNgtPB8nIgLaVJCLC+KIFh+EmgUBt1N sgtKTVvjuTfE0WBHT13nOf7oS9lpsjQGwK5j5ELzlowcRw97jlAndrI8NM9NIrtGnpGn RKzilb9+cIshO0gMSlceyHLK86vpxKa53i9rpRll0DxL2IKO9ZvD3O203PX64qfMLYE+ lfzaFStRSfG+fcSL8415DWD5SYr9shlSGKeBw1TRFUWenH2QmiaTp6o8EUmiiZh+W0WY x7Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681745425; x=1684337425; 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=I90y/7rpQhg6YUQFfZTZY2uS59Y2M6cbexfqSajHymg=; b=cKtICiHdahmDOFIXT8MUiQPfLUhHRLG5sGVXM316QV5Dt4yGVHiF5sD6Q1I9HodyRH 2nzdS4cOnVz5VmYe2bP1pT4DgrCAAJE1udVYWbjwLbr2eK6K1gwy4qU08Z5Si0XsnDGJ cgazF+jVgNXtSUSLJz4VP+1F3KFe8fehcB9ABDntarVtSYjNBAKptUg2KgF1bpSPV/xo tWfanNo8VFkM7hcYnZ1SbgzBsgrRL6DbXF5qkve3a6pGlKgg7dWzR47rXYg9jrBy+LEo ohE4r4MRhbSCNi+8zwjjylvDmjsoDDgbqmL31A7KMbaOUeAuKPXQ+Vym4sPzbtSngXRl PJWw== X-Gm-Message-State: AAQBX9cZCreHlBfipKIqfgosu7j5EAIxpOGO31xdB8NycACIdnd8AkeP T40MdTZP5dyS0WU3dE0bTPe+d7J3nkaYAiem9BE= X-Received: by 2002:a19:5518:0:b0:4ec:8362:1880 with SMTP id n24-20020a195518000000b004ec83621880mr2506141lfe.48.1681745425060; Mon, 17 Apr 2023 08:30:25 -0700 (PDT) Received: from [192.168.1.101] (abyk99.neoplus.adsl.tpnet.pl. [83.9.30.99]) by smtp.gmail.com with ESMTPSA id b16-20020ac25e90000000b004ec8a3d4200sm2053439lfq.293.2023.04.17.08.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 08:30:24 -0700 (PDT) From: Konrad Dybcio Date: Mon, 17 Apr 2023 17:30:15 +0200 Subject: [PATCH 1/5] dt-bindings: display/msm: Add reg bus interconnect MIME-Version: 1.0 Message-Id: <20230417-topic-dpu_regbus-v1-1-06fbdc1643c0@linaro.org> References: <20230417-topic-dpu_regbus-v1-0-06fbdc1643c0@linaro.org> In-Reply-To: <20230417-topic-dpu_regbus-v1-0-06fbdc1643c0@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681745422; l=1021; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DgEhAwck/2UMFZpU98hoIh71vdQR9UmmeTw0XAyM3ys=; b=ciJNKHjiF7ITdMqgyQfJ5T8aGhSzJ7QpX1an0grzifZiCGiobk7sJ7VxHrZq7Ks1lDIevGYZ2Ppn gZhM6RO4AVtKPj9aTKdLen85YbNGGGyEr8b2giju+qcxUh69exFG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763439040398771929?= X-GMAIL-MSGID: =?utf-8?q?1763439040398771929?= Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there's another path that needs to be handled to ensure MDSS functions properly, namely the "reg bus", a.k.a the CPU-MDSS interconnect. Gating that path may have a variety of effects.. from none to otherwise inexplicable DSI timeouts.. Describe it in bindings to allow for use in device trees. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/display/msm/mdss-common.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml index ccd7d6417523..9eb5b6d3e0b9 100644 --- a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml +++ b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml @@ -72,6 +72,7 @@ properties: items: - const: mdp0-mem - const: mdp1-mem + - const: cpu-cfg resets: items: