Message ID | 20221124004801.361232-1-bryan.odonoghue@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3116368wrr; Wed, 23 Nov 2022 16:48:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf7YpNjzOn45/ryANGH8EFz5taY4nJZKYXXq60Ermw94oOTWO8i4JdmY4ZXLkZp35/Hbn/rs X-Received: by 2002:a05:6a00:1893:b0:56b:8282:b165 with SMTP id x19-20020a056a00189300b0056b8282b165mr13407927pfh.69.1669250930834; Wed, 23 Nov 2022 16:48:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669250930; cv=none; d=google.com; s=arc-20160816; b=l4CkD02dwtDlNcjNnLKtF1tQmpGRoUcg9BouZf8JyrT+6I8MMsefXbRA+8Iqr9UJYM j6bSQJZ4nW0NwmtU0oDxaWgN5qxosUiBE+UMNGJPbAZxJAYPwlkEOoloC0u6flt1J8pw /W/5nTBv96TSdvLN9mOqtDZyv5o3k0wAoaNiRKBmGSCdFhDqI86UCKdhiJwIT+icETxf X8xyGecUMbORqicBPPzsMAUDCki1JsWoVsta8l6Be5dCHrVtmGpZiZkmD18fA8BnHmOz m8tnCr/RrK9ft7bAaqUo92tv5UzNQvqGZninpIDapsuiZAPsqSV/6A42mPATBkJSK7ma BsUQ== 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=6YPFVF1eY9/ODmDT3NI20gj5TL4wvhdUoa/GdSB6uN4=; b=FHnJ9L0H2bnJmkMInb7vu+3Xtd/c4MAQOz9rjVQ9DBXICWLdt9felhXsMlup44HrDz dh67F6SccYO52Tae98oFqrbwVdnijGWBrqgfOi2Yb6Ger/FAV3aa9m1Eluqypn7Zt4ja cUZp/hsFlZ3ASbMEjYMHb46xrUCgpbwNbFCfO7/Ih1TPOEsssnTnfenlyyHgkRtNUEmq fZcbhaI9eA95NNEqLuu0B63hcjzv7jt3Eh1+mQ/IkYxxUoYPu8encfNFpzFp1Vodf3XL erkM4K9I9ocCpTOVUewFBxRRVLeNhLyrHbSKQqulllY3fXcI7EVUMD1UB285q83ijkC/ jYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xImOnWP2; 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 e23-20020a656897000000b0046ff26f21eesi3654851pgt.435.2022.11.23.16.48.38; Wed, 23 Nov 2022 16:48: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=xImOnWP2; 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 S229453AbiKXAsJ (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Wed, 23 Nov 2022 19:48:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKXAsH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 19:48:07 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB13A49B7B for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 16:48:05 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso169536wms.4 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 16:48:05 -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=6YPFVF1eY9/ODmDT3NI20gj5TL4wvhdUoa/GdSB6uN4=; b=xImOnWP2Who9GsW9wL7MuY5SPWwHsdXGlbna50GyteErWTOSAbyGsn3tezjS4/ck90 GnaFwjmMSkvh34UHnZK1NWBPojYS1lPgt9nxKR3hONxSTCLTxARB+HKMNnA1dL7cvDIZ O+j95kq753YJ8pW28FA4SFvagHOk+MRGVu26bVoyCTbKMixaNh4066PbLD6bv2rtKPwv fqbk2GOQzbxwEwSIl/QYo3vbhTHzPf4AvvPYgpwuoc98f/+fuQD1d1m0gXO5EbZ1mLqO Hkg8q7oNlvfN+f4gwEZ2CLW8/ZOz5+DxRgzHdk1B1xcg6h1ETVarRldUuUi/XgPpLHJt 3SxA== 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=6YPFVF1eY9/ODmDT3NI20gj5TL4wvhdUoa/GdSB6uN4=; b=dZhHk0nwTIEqqyu3SFMRg5XVmX8nmkKg7pJK8N7JWWHIR+o+t4UFPCbo2H/qQck+cM qSW2GnD2f9J+TwwNCDRELlxs4i7UoYyRrkD5ThdPBemmGP3zc/XOquI3/iwd2Kg3INY4 3NsjLzGQ3CaCKA6SX5qM9k7tPooaiHcAvZfPVORRteraSUeGjL4dLQ1KB3dUghFdLXQ9 x/cojNuKb8BasMskRveJYwN7RDEjRlRhXP6I+HU+ZYX8bw7948dwP6QzZ95XEDIwLUL5 dTO0v+7PI3pu+P+HeyZysMohHqaJAQgO6/iVbmI46TnESDE6G0F/vKj8IP3pnBLIFELG fr5w== X-Gm-Message-State: ANoB5pkaPzPcA6mFlavxqTQkEXeJlo/qgTZvDrZK4tKiynCyPOw6pc+D jOquo7X3xAa3Svazx74R+OWXS562laGxgg== X-Received: by 2002:a7b:cb83:0:b0:3cf:96da:3846 with SMTP id m3-20020a7bcb83000000b003cf96da3846mr24532549wmi.10.1669250884374; Wed, 23 Nov 2022 16:48:04 -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 n38-20020a05600c3ba600b003c6bbe910fdsm5245076wms.9.2022.11.23.16.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 16:48:03 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> 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 v3 00/18] mdss-dsi-ctrl binding and dts fixes Date: Thu, 24 Nov 2022 00:47:43 +0000 Message-Id: <20221124004801.361232-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750336464321926595?= X-GMAIL-MSGID: =?utf-8?q?1750336464321926595?= |
Series |
mdss-dsi-ctrl binding and dts fixes
|
|
Message
Bryan O'Donoghue
Nov. 24, 2022, 12:47 a.m. UTC
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 (18): dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint dt-bindings: msm: dsi-controller-main: Fix power-domain constraint dt-bindings: msm: dsi-controller-main: Rename qcom,dsi-ctrl-6g-qcm2290 to qcom,qcm2290-dsi-ctrl 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: Fix description of core clock dt-bindings: msm: dsi-controller-main: Fix clock declarations dt-bindings: msm: dsi-controller-main: Add vdd* descriptions back in ARM: dts: qcom: apq8064: add compat qcom,apq8064-dsi-ctrl ARM: dts: qcom: msm8974: Add compat qcom,msm8974-dsi-ctrl arm64: dts: qcom: msm8916: Add compat qcom,msm8916-dsi-ctrl arm64: dts: qcom: msm8996: Add compat qcom,msm8996-dsi-ctrl arm64: dts: qcom: sc7180: Add compat qcom,sc7180-dsi-ctrl arm64: dts: qcom: sc7280: Add compat qcom,sc7280-dsi-ctrl arm64: dts: qcom: sdm630: Add compat qcom,sdm630-dsi-ctrl arm64: dts: qcom: sdm660: Add compat qcom,sdm660-dsi-ctrl arm64: dts: qcom: sdm845: Add compat qcom,sdm845-dsi-ctrl arm64: dts: qcom: sm8250: Add compat qcom,sm8250-dsi-ctrl .../display/msm/dsi-controller-main.yaml | 205 ++++++++++++++++-- arch/arm/boot/dts/qcom-apq8064.dtsi | 3 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 3 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 +- arch/arm64/boot/dts/qcom/sdm660.dtsi | 3 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +- 11 files changed, 208 insertions(+), 36 deletions(-)