Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1651446rwn; Fri, 9 Sep 2022 01:40:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR66c8h6CaGisFFuZ9PpqPHUqaD5XeKutWZ/31W/4ERS/SdRUjI55cyZE9hUmxAuc/GXtMkP X-Received: by 2002:a05:651c:514:b0:261:bd06:55e with SMTP id o20-20020a05651c051400b00261bd06055emr3438267ljp.343.1662712817585; Fri, 09 Sep 2022 01:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662712817; cv=none; d=google.com; s=arc-20160816; b=HGrDweC+T2wCYIJAIBV28/amF2ErnQ5cvGmhgwO4dgpsJYDqTFHWEuNE5YK/hOPe5F DOnsmM1EqJ68KzEZn42IuR6iFt0lgdMc3mWLjikOsENgixDHhzNbfQeJTB13B/YXXmZq vEKrrHtkxxAHSRRQgBvuB4N+N12v8QGPlkOp/4VMmwLQCvUQs3HpYKSkPSd51kDcl8iN OxKS+ekjg/Sw3963WWEQNvQ8Y2dVAZrcUU7HC+benV0DnXi4DRQa1oXS965cvwrwO5o1 Ag2SBIAiLaojr9WeCpE2qDdBuxZFxKXCij1CkuJUabBj2yvEFvw2cYxBr9DdY2NA0K8A XWHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Dt/NonODblXlWQZIMmh1TH9Id6Q2KvLS2tY6Rp9x0GE=; b=OsEWa+W72bTpaiLRAHTWxyKkF2KcerTw4LCIlQ8eunNoVzRN3qQ4Nx05JuhAEgJvVo IWhfb+mXwK5awGeZQo9YlZYQioW/mXPllbQmsy5DX7sg9mcjL0QpwDuBfNlWy7F6O80s MGaa9RCnoF/G+ghH9H9qDdnug6bc/V4tNchdbUZnttJLbtYvPIRhBLMbz29Lv+3I93I+ Rie+CkVBlYUDXJQToAqhSw9MUy+EzI6je135GOS/DYo0MU5utt6BgY+ZXKKCbcb1q8S1 GE1OQCbmrAraghWnCzwgu/Fjs6KdiVDgZyBDAol7cLATj2v2DhTWJQhe8GEx3FZ+3tbg bXPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LK4ujKxM; 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 r17-20020a2e9951000000b002648ffd5147si508243ljj.394.2022.09.09.01.39.47; Fri, 09 Sep 2022 01:40:17 -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=LK4ujKxM; 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 S230504AbiIIIca (ORCPT + 99 others); Fri, 9 Sep 2022 04:32:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbiIIIc1 (ORCPT ); Fri, 9 Sep 2022 04:32:27 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82FFD1282FA for ; Fri, 9 Sep 2022 01:32:26 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id bs13so958504ljb.8 for ; Fri, 09 Sep 2022 01:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Dt/NonODblXlWQZIMmh1TH9Id6Q2KvLS2tY6Rp9x0GE=; b=LK4ujKxMCcjrLILoyOq47tOhxHDFHBZJr36EmIG+DL7wfnOuez6UZpUub2DUzmpg8m FjHIV2sFUEYAlQ7VZR06DLTacKmluOBeKpMaLpTYMKEy0xvviYoD4PIpIiLLmUMx9p1V nXoNlnT0TPTvasr+2RnFNcZEnZF1lSIX/xb7PvEBvyM4Hmhggh0V59I/iQoPVXyk85CG JQYe9ZolOTQlu9WNzqOd9SOJ5g+G5gzSp0FjWKqqBuKa8ZwzQDoSL3bDc4qVGRc5K+iW JSkqxSxKg/A3VEClnK+mUmQOOGMH9ndOU69dWAfvGNfBLHNOyy0/EP7X3wC2izmSTrzT RkFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Dt/NonODblXlWQZIMmh1TH9Id6Q2KvLS2tY6Rp9x0GE=; b=UpP+Rgnjtc1bh8tigOZGWGHws5YKBT/+Huj+4J2x2xyO20FwDaCmn3BvXtM9tNMRda rR2hhhzHuZs0NCMu9DixwhKdmoX5aj5xzyaLuatH42L9lMZRrLh3n/yrv9aEtuAIm0MR ZDunuEt8l927Gjzrb2vmTaDYPHS2pXJK+DM+ZOHMcDNfWkpc7hUyc47tyahbp4QbgjO5 RgZRV48hl6isVKW6jDplXhkTs1MCsC7w4rEuWdHAeb3amveHqBogNIHbFVe9yAbn1AmA 1It9F1Gu1J7CUV+mO9BDVsnVu8bgWgURGIfrWuVWrymnpFccrCUSduH6yF0JvZiSO6Iy X5Ng== X-Gm-Message-State: ACgBeo2tlBh5u7tPofAFIzZ0dGsLXUGHLr2w9JXTNzSjOjEetcTt9+at r3jjWX4KSPBFpMhvD/TQt1sUYda+ZACTbg== X-Received: by 2002:a2e:9e50:0:b0:261:e3fd:cdc5 with SMTP id g16-20020a2e9e50000000b00261e3fdcdc5mr3594611ljk.56.1662712344803; Fri, 09 Sep 2022 01:32:24 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b6-20020a05651c032600b0026acf2ae007sm192764ljp.89.2022.09.09.01.32.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 01:32:24 -0700 (PDT) Message-ID: Date: Fri, 9 Sep 2022 10:32:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v3 3/3] arm64: dts: qcom: msm8953: add MDSS Content-Language: en-US To: Dmitry Baryshkov , Luca Weiss Cc: linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Vladimir Lypak , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220906183334.203787-1-luca@z3ntu.xyz> <20220906183334.203787-4-luca@z3ntu.xyz> <12049260.O9o76ZdvQC@g550jk> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 08/09/2022 18:13, Dmitry Baryshkov wrote: >>>> >>>> + mdss: mdss@1a00000 { >>>> + compatible = "qcom,mdss"; >>>> + >>>> + reg = <0x1a00000 0x1000>, >>>> + <0x1ab0000 0x1040>; >>>> + reg-names = "mdss_phys", >>>> + "vbif_phys"; >>>> + >>>> + power-domains = <&gcc MDSS_GDSC>; >>>> + interrupts = ; >>>> + >>>> + interrupt-controller; >>>> + #interrupt-cells = <1>; >>>> + >>>> + clocks = <&gcc GCC_MDSS_AHB_CLK>, >>>> + <&gcc GCC_MDSS_AXI_CLK>, >>>> + <&gcc GCC_MDSS_VSYNC_CLK>, >>>> + <&gcc GCC_MDSS_MDP_CLK>; >>>> + clock-names = "iface", >>>> + "bus", >>>> + "vsync", >>>> + "core"; >>>> + >>>> + #address-cells = <1>; >>>> + #size-cells = <1>; >>>> + ranges; >>>> + >>>> + status = "disabled"; >>>> + >>>> + mdp: mdp@1a01000 { >>>> + compatible = "qcom,mdp5"; >>> >>> Could you please change this to "qcom,msm8953-mdp5", "qcom,mdp5". >> >> This would be the first dtsi using the two compatibles then, correct? Are there >> any plans to adjust other SoCs? > > Yes, this is a long-going plan. Having just "qcom,mdp5" doesn't allow > switching between mdp5 and dpu1 drivers. Thus I'd ask to add per-SoC > compat strings. > > It's up to you (and Rob/Krzysztof) whether to leave just one compat > string or have both of them: a per-soc one and a generic one. If device can bind to generic fallback ("qcom,mdp5") and still work somehow, then the fallback is OK. However if generic "qcom,mdp5" does not work at all, let's just choose something which is matching current patterns. Best regards, Krzysztof