Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3391712rwb; Mon, 16 Jan 2023 07:26:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXuEoGifJCFFzISdakEPHYhLzduVZ1baVQzu63Zm8g7mMJnszkJJyw+zcnuZS8VQR4aV2UHc X-Received: by 2002:a17:90a:4fe4:b0:228:de0e:c8af with SMTP id q91-20020a17090a4fe400b00228de0ec8afmr22784225pjh.16.1673882810216; Mon, 16 Jan 2023 07:26:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673882810; cv=none; d=google.com; s=arc-20160816; b=w73DxjCiYfp2Uyxa470xR0cEmiBpDSLXoNtQM7OtlOp3HtwSH+wxvyTgJRbA0i5wMW UJ4kI0LrF2SOBdJ2Vsq17sxPUvD9nQzZ4B1vEdj5xmw/hsmM2AoQoBIGbkmMfWxOnVjM lmZD5QYECPnVV1/IkLSxTwSrulIEzvCQxwmL3AzpDKvuWCdtQ+lHZvlzddmO4n2LyJNj mBZadR93TBUvemB9j0ekBpKktMqdftSM5gqWgWIQCxV/wj/zB4iHTJCUtd4SHM2/sdV2 gWuaRP+aCNw8APj8th8tDZ1uyDRM1JWjt/vMYTzJtF3e3hmjHPYfggT7tKy8BI0phczf FRHQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nv0qa2Y9kKxU6VGIR/RqoCE+47f00hC3eEX/3It1chk=; b=dTJ2kaKRu98kO4qgHwz1vWkUeMqSOKN3yrDeRJf7bU/sZrNPTmX4ks87hkSGOF5r5y aVOVRhd416m4J0iXSgSf1gfmBzdaN0hbUf1lzbBcelBnzdZIOaGk2U2q7b9cjOhy8g4P t7uOw4ehu7Stf1EnPshiNUButKJWqne77n7sTguBaY6Itv/2vTWqwNOlKX8UC9pE8gHn q8aoIZYKUpJ6HX8YpUYL0a5bN751L8wbQi+BYsdVfJlS094OqTZSQRAQLi7KldWsfzXt 8CZWY3pVOZITnj6q20yqhyvcPWAPlBbDdBjoqNZzjuGAL+o4qNUoEuzzUny1HLWv1OI0 A9Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BKqVukHa; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a634818000000b0049876520724si28088473pga.303.2023.01.16.07.26.43; Mon, 16 Jan 2023 07:26:50 -0800 (PST) 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=BKqVukHa; 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 S231552AbjAPPYK (ORCPT + 50 others); Mon, 16 Jan 2023 10:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbjAPPXn (ORCPT ); Mon, 16 Jan 2023 10:23:43 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9FC234F6 for ; Mon, 16 Jan 2023 07:21:32 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id h16so27793969wrz.12 for ; Mon, 16 Jan 2023 07:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nv0qa2Y9kKxU6VGIR/RqoCE+47f00hC3eEX/3It1chk=; b=BKqVukHaNZ2DjWhsK2wghZ2mTsJu+9IwS9P/qGTacZ0hXj+iyool3k9BEfn8x6JXQJ hw3JDOmQN3yWNzSVg3VGPy9Cf5/GGU1zFY0l3Nca3VaEqh1+MzTcGR4ZGwDI7cGGdHD+ 8TbSsVQEieGnEMxsTK9HhLpZaXZ+S/SWQ+oSzinvM9LN7mM5yYZbBIsIzQqCLMBiYOlS KABMxb76aWIK83/ubWTSgBlSwmAq78EZ9yPnMgv4A+pmjowA8zokO7+q0ESsyUFMri9B KI2bEKXrT9Fif28tva4jio2E2+tU//zFGLIe0M7b2SuEdASgsbDp8+dapdW+vkNO7lZc seVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nv0qa2Y9kKxU6VGIR/RqoCE+47f00hC3eEX/3It1chk=; b=h1HQta716Y9zSjMYKCYRpH16+ll7CglFk6q0Xl87oDosSdrzhemF/qiQR2/xQ7TnJy ueIDRgdp/+14Q8EHj0agjKd59Alzk57w7H/pxef2KEOqLYhwucatm3wu39dlyni/rKDo ppvZHX6/lqx/nHY6Jks49J/BUuHxHN+sIsI/LQzQeDR9oTU8nHWcgYWW+yY/DFz9offQ m2e+vWU/E4TcsCRwjy6hx5dHhpirRPjLVh29oot1H4a6d7CmURztfmV+0U8V5ev5J6oA +mxkknjpkyVXgRFza19mBf2WHQ9LDj6SlKdVNhjhkX5zVOxPzrVF1h/12feHRIcGrAWb 1NPQ== X-Gm-Message-State: AFqh2koJolgrwFNn4z82njHsZVQuyUo1JzhupeH7cLGp+k0u1p/60ba4 9OzM5yY721PFGIN+Ku4kC6TQNA== X-Received: by 2002:a05:6000:1b05:b0:2b5:dc24:e08e with SMTP id f5-20020a0560001b0500b002b5dc24e08emr26936729wrz.69.1673882491286; Mon, 16 Jan 2023 07:21:31 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id u18-20020adff892000000b002bded7da2b8sm6874686wrp.102.2023.01.16.07.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 07:21:30 -0800 (PST) From: Bryan O'Donoghue To: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, dianders@chromium.org, david@ixit.cz, krzysztof.kozlowski+dt@linaro.org, swboyd@chromium.org, konrad.dybcio@somainline.org, agross@kernel.org, andersson@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v7 0/4] mdss-dsi-ctrl binding and dts fixes Date: Mon, 16 Jan 2023 15:21:24 +0000 Message-Id: <20230116152128.909646-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 autolearn=ham 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 V7: - The bulk of the patches for this series have been merged. There are still four patches to be pushed/updated. - Adds clocks for msm8974 - Dmitry - Adds compat strings for sm8150, sm8350, sm8450, sm8550 - Dmitry - Changes last patch in series to state - Rob compatible: contains: const: qcom,mdss-dsi-ctrl link: https://lore.kernel.org/linux-arm-msm/20221223021025.1646636-1-bryan.odonoghue@linaro.org/ V6: - Squashes a number of patches per Krzysztof's comments on bisectability - Adds in Acked-by Rob and Krzysztof V5: - Adds compat strings to bindings/display/msm/qcom,SoC-mdss.yaml - Dmitry - Re-orders simple fixes to the start of the series to allow backports - Dmitry - VDDA and drop of node-names - Krzysztof - Deprecates qcom,dsi-ctrl-6g-qcm2290 - Krzysztof, Dmitry - Expands set of updated files to include new msm8953 - bod - Converts to agreed compat string qcom,SoC-dsi-ctrl hence - - qcom,mdss-dsi-ctrl-msm8996 + - qcom,msm8996-dsi-ctrl - Adds RB where indicated for the compat strings. V4: - Moves the update of the example from patch #5 to patch #4 V3: - Moves declaration of mdss-dsi-ctrl into compat string declaration patch - Krzysztof, Dmitry - Renames qcm-2290 compat string to agreed compat "qcom,socname-dsi-ctrl" Dmirty, Krzysztof - Adds empty line after if clause in yaml control flow section - Dmirty - Adds Rb/Ack - Krzysztof, Dmitry, Doug, David - vdd* Looking into this some more, I don't believe vdd, vdda, vddio ought to be required properties. Its up to the PCB manufacturer and the panel in-use how that panel is powered. Powering the panel is not something that even necessarily needs to be done from the dsi-ctrl driver. Originally marking vdd* as required in the .txt was an error, its not a SoC level dtsi requirement. - clock-names Rather than replicate the clock-name in each if block I listed them with a specific description from a similar reference in usb/qcom,dwc3.yaml. https://lore.kernel.org/linux-arm-msm/eb80681f-2e0b-605f-0444-ec65562f74b8@linaro.org/ V2: https://www.spinics.net/lists/linux-arm-msm/msg116326.html - Moves the DSI PHY changes to a different later series. There are enough dsi-controller-main changes to justify its own standalone series. - The original phy-name binding change given discussion with Rob and Krzysztof became its own standalone series that has since been merged. https://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg403214.html - Retains the drop of power-domain from yaml as a required property. I dug into the available dtsi. The apq8064 doesn't appear to have any GDSC which can be attached as a power-domain, which means the power-domain requirement is not universal across the various silicon versions. - Adds Dmitry's RB to power-domain drop - For the clock declarations I've * I noticed that the simple change I had worked for msm8939 but subsquently broke other dtsi which drove a bigger change to document the clocks on a per compatible basis. * Added compat strings in yaml. * Moved the allOf down later in the file to acomodate the if/then. * Number of clocks validated on a per compatible basis * The driver code which doesn't care about the number of clocks can still operate on the mdss-dsi-ctrl compat but the dts checks will validate against the compat string and yaml. - vdd descriptions Took the previous text I missed from the .txt file - Krzysztof, Dmitry Adds vdd, vdda and vddio to the required list. This exposes warnings in existing dtsi but the previous .txt declared these regulators as required. - Krzysztof V1: This series fixes up a number of dtbs checks which are being flagged adding in the msm8939 dtsi. When converting from .txt to .yaml a number of the parameters for the older msm8916 silicon were not transmitted into the yaml. Adding in the msm8939 which is a near 1:1 copy of the msm8916 in terms of dtsi triggers a rake of dtbs checks as a result. https://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg403211.html Bryan O'Donoghue (4): dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC dt-bindings: msm: dsi-controller-main: Document clocks on a per compatible basis dt-bindings: msm: dsi-controller-main: Add vdd* descriptions back in dt-bindings: display/msm: Add list of mdss-dsi-ctrl compats .../display/msm/dsi-controller-main.yaml | 261 ++++++++++++++++-- .../bindings/display/msm/qcom,mdss.yaml | 3 +- .../display/msm/qcom,msm8998-mdss.yaml | 8 +- .../display/msm/qcom,sc7180-mdss.yaml | 6 +- .../display/msm/qcom,sc7280-mdss.yaml | 6 +- .../display/msm/qcom,sdm845-mdss.yaml | 8 +- .../display/msm/qcom,sm8150-mdss.yaml | 8 +- .../display/msm/qcom,sm8250-mdss.yaml | 8 +- .../display/msm/qcom,sm8350-mdss.yaml | 6 +- .../display/msm/qcom,sm8450-mdss.yaml | 4 +- 10 files changed, 277 insertions(+), 41 deletions(-) -- 2.38.1