Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10501603rwb; Fri, 25 Nov 2022 05:19:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf4G6F51OL8jANyy/brH4cYu9EcMRxqbwcViGRLjXKQxpZhRwhbZUugYNZDB3/2IhuUYR8wf X-Received: by 2002:a17:902:c792:b0:17e:802b:fd6e with SMTP id w18-20020a170902c79200b0017e802bfd6emr18684650pla.116.1669382370763; Fri, 25 Nov 2022 05:19:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669382370; cv=none; d=google.com; s=arc-20160816; b=NBrKfKBWJ6XAuT1JoU7Y6DgBCUETSU6IQ7tPM/mMplocGoai8CyyvWY9k7CUcOKqML 6L/9dUs+FBI74jy0OFlAMDGgjV8pBqd6BtzV+EQkZeULE7W5lQyw+ORyabT6eMTSp+x8 TGRDy7SI9c4A3lYJkqAiYMirPKHyedqLc/H3ngGpfi26X0vGKidjnegZfvcTUuJT0nCf Viu4VsXaZbuBoGivN6bC8Zx/GcEbaTuSlqQnz3W84gnPe1QRqqnWyyVWB5HLbZg6QFzD 812JFrWf1+V7OWMj2zSkpVJa5kslxH6QEDh0NNePXXkfrMfml6edKsUEFkpPcjmd7Riy 0GGw== 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=9Pnrz7CxvZ7ybVJUgqP8hjKP0Ck4G3JBOu5Z9AIGH0A=; b=qufUuMKDfKI/qpnmLEr5CI4RCgcPt8HIQLP96Cab1Ac94Uwlfz+lgwvO0z4LqPufIn 4k9wMbb2RlNdYLvX+G7cf6ixwXLRUop9ztRtqFI1mLdLDxkrXNWNqU79qs9u2q14fBib cUEsQAkrD4vcCRhURXj5Ba42SUle7L0tGkgmwss2pohYDbGUzs3kzOAicu/s3LJmgZPv SphQiLJrwalnyeym4tH7Gt7YXnl7bntL9kPED4jZD5sJNcbTxWixdncuM8o0weJz75LH b+St8ysBJopS4xjz6OZUydXV4BlbUTR4CtmiFWqMJIYgaog2HtoabrYpzMfQ6048ueUr VGjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dHM95RVf; 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 k8-20020aa788c8000000b00574d06d6a4fsi675345pff.56.2022.11.25.05.19.18; Fri, 25 Nov 2022 05:19:30 -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=dHM95RVf; 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 S230133AbiKYMg7 (ORCPT + 86 others); Fri, 25 Nov 2022 07:36:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbiKYMgt (ORCPT ); Fri, 25 Nov 2022 07:36:49 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23D1F4B9BD for ; Fri, 25 Nov 2022 04:36:47 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id x17so6573206wrn.6 for ; Fri, 25 Nov 2022 04:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9Pnrz7CxvZ7ybVJUgqP8hjKP0Ck4G3JBOu5Z9AIGH0A=; b=dHM95RVf8Kp4A/apgk/MWwQp6R+YbnOnEAmCvABDPmlzxiqk8/9n7uXYDq+Ar8Ycr9 w6/F4Bt9OVmLhNBAxc3x1y5VUH5l7gAWYT9gv7RTnXYOrfdVhBkShekyZ0r+lGtFPeqw DZoXjj9jR42aSsjs/SO6pOGsihrJ4yjYUHKRWsKmu/fU18bdBPKURrF6eG3BbPFV6k9P kg0BJYNe/HK8MJQfx/ArzthPELMAtfwpgilBN0emrXP3TWeiC85RGtp4l7w7tnsGQJvf NijQ9yVYAfwlgT8Zm9343zHeBtyQCsmglYBvB41Z+FmJXrbw7Jz56YFvTUkIbvay/D7u xCxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9Pnrz7CxvZ7ybVJUgqP8hjKP0Ck4G3JBOu5Z9AIGH0A=; b=tK/4WWTmKwRW9/pCU9zi+zE0H/lTe9naEk2tn59u/GRt3u2NiTODzGAAexRJmbBx+9 P5dEiCg6VkhNip/8aHhYPsry9JgrCQ+pZHvXUXp6Tk1EsC3FdQQKuuLO+ncvTK2+mPHV qNpmmodTIonPYUwX/M3jiCQHRsg613ygqQ2Rwhr2f1toGHKWY+kMtDumov5+FPeHykTt OCMEni4Gw9PScDcomdMlOhcBUa8saPLY/2zwhlpBUkRs2rGRkSPmMxrZ35SB02/Pd70c OwPezB2g4/KDC7VohUOSrbnLFq6k/Ew+k+buhBn6jYEy5xBi8ivFgrKgkCKKqS1gsBjl LAUQ== X-Gm-Message-State: ANoB5pnvDXQNn6bzsNsjo3jsHPN65K72f3BlaHTqbdMhk6oOH34h4Fhl Xiq5H/jSb/nMW2PgAKZr0hTrNw== X-Received: by 2002:adf:fb4c:0:b0:236:5270:735e with SMTP id c12-20020adffb4c000000b002365270735emr12330288wrs.659.1669379806496; Fri, 25 Nov 2022 04:36:46 -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 k15-20020a5d6d4f000000b002366dd0e030sm3574111wri.68.2022.11.25.04.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 04:36:46 -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 v4 04/18] dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC Date: Fri, 25 Nov 2022 12:36:24 +0000 Message-Id: <20221125123638.823261-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125123638.823261-1-bryan.odonoghue@linaro.org> References: <20221125123638.823261-1-bryan.odonoghue@linaro.org> 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=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 Currently we do not differentiate between the various users of the qcom,mdss-dsi-ctrl. The driver is flexible enough to operate from one compatible string but, the hardware does have some significant differences in the number of clocks. To facilitate documenting the clocks add the following compatible strings - qcom,apq8064-dsi-ctrl - qcom,msm8916-dsi-ctrl - qcom,msm8974-dsi-ctrl - qcom,msm8996-dsi-ctrl - qcom,sc7180-dsi-ctrl - qcom,sc7280-dsi-ctrl - qcom,sdm630-dsi-ctrl - qcom,sdm660-dsi-ctrl - qcom,sdm845-dsi-ctrl - qcom,sm8250-dsi-ctrl Each SoC dtsi should declare "qcom,socname-dsi-ctrl", "qcom,mdss-dsi-ctrl"; Signed-off-by: Bryan O'Donoghue --- .../display/msm/dsi-controller-main.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 67d08dc338925..0cd2079137b02 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -14,9 +14,20 @@ allOf: properties: compatible: - enum: - - qcom,mdss-dsi-ctrl - - qcom,qcm2290-dsi-ctrl + items: + - enum: + - qcom,apq8064-dsi-ctrl + - qcom,msm8916-dsi-ctrl + - qcom,msm8974-dsi-ctrl + - qcom,msm8996-dsi-ctrl + - qcom,qcm2290-dsi-ctrl + - qcom,sc7180-dsi-ctrl + - qcom,sc7280-dsi-ctrl + - qcom,sdm630-dsi-ctrl + - qcom,sdm660-dsi-ctrl + - qcom,sdm845-dsi-ctrl + - qcom,sm8250-dsi-ctrl + - const: qcom,mdss-dsi-ctrl reg: maxItems: 1 @@ -146,7 +157,7 @@ examples: #include dsi@ae94000 { - compatible = "qcom,mdss-dsi-ctrl"; + compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0x0ae94000 0x400>; reg-names = "dsi_ctrl"; -- 2.38.1