Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3872711pxb; Mon, 21 Feb 2022 07:23:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAJ+xENZtkrAOBg+FX6gux1WVpwLgb/7LXjS9OgUMWJPuNo/uXW/ecjCHHlRtqdNJxss3Q X-Received: by 2002:a63:36cd:0:b0:373:9242:1579 with SMTP id d196-20020a6336cd000000b0037392421579mr16478740pga.436.1645456990230; Mon, 21 Feb 2022 07:23:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645456990; cv=none; d=google.com; s=arc-20160816; b=WNuQsg8egepI1qPKTTdyoKxWlICLH5kprrMLIO7NMIfznqLuqwOOtotO8Nxj7Y1U+A iY+Ndh9I0HAPD1KC5K+r9wzw6494XoC3+P2XaTMcmsZFmeCQKFOMxOXBXy20bOufKJMH Fu8toK7R5dkzWivh1qe/QlCukcNd3RYSpyqy0Xxm6HohGk03FR3WaLKt2R1o23D10XHG otDTkkuEL83pBDlRiR9nwVTLL+A5DU9BQ8xEO4DxKSKx64fDAlgflcUZK0lbT3k6LMa6 vMi+yoF+Y5D1s+merb/pX5hVB0V5VSr4QoDEXSnqBXP9Bfo5iuvR+3qrXMNQPhD/tzS0 DOqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=huPIGDsJDWnlkYGD8RjgTidc2vJbYvfd2l32RF6F7ME=; b=z9dnhgFXTHo60nlBtfefl9//5VyVXgFVcRXI4OosN455p15yetl6ft3N5KXCLgZtuF xkbqbxfkZlGr8JqiHYqBixWQb9QIrG52qnwBt0bFWbZw3JmpivGvDEq+sSYVkzGP8KQ8 yZhGDfXrYegBLzwDjGXrxKDcFx8PM9FCyP3eU3AVt5njYQVrIP8OCzBY5rTgncDAvJhr 8SGOxldN6DAT29fpCm3zQ9ZTLLUo/9PsdgLYLeVy0axkvGN7zHE+c72CqsxIPTbr2f+q 4kOAHddWOi5cIyMbhIjUvf1vxLsbcXCD2ZBzuimLV08aq+sIsTZlZrtckRlvxgs9KsPr rAbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XHq3QluY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 144si18459735pga.249.2022.02.21.07.22.52; Mon, 21 Feb 2022 07:23:10 -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=@gmail.com header.s=20210112 header.b=XHq3QluY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354010AbiBUJ6F (ORCPT + 99 others); Mon, 21 Feb 2022 04:58:05 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352387AbiBUJrY (ORCPT ); Mon, 21 Feb 2022 04:47:24 -0500 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 7A634424A8; Mon, 21 Feb 2022 01:19:38 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id t14so13649512ljh.8; Mon, 21 Feb 2022 01:19:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=huPIGDsJDWnlkYGD8RjgTidc2vJbYvfd2l32RF6F7ME=; b=XHq3QluY2NVKJBoPyZ5hC8E9kHQvOAPPb8ZhyHDx1zhlAkNeBSQDU9oDMYEo9kLtj1 9cXg34dwfdzJeRIGaVXIq3srnStQKw3QDXKQ1thq0Uc6l1XFZg/mZzpv6moP6tyl8vZ1 gr+nNuiwanMDAssVdkEgx9KaXjFFvMWdGLLBJSOQYy2hv1mgqQLmpbD2vThAYB6uxphS gY3TtaGTMtam7ba1xHPA893XpvlEeTFewfs2YkAyUdpAH1Pp1SqlJ4GI/2fZMzRRvfX9 gWdHZxniM+CkrZLLtz10wy918bnMFilflVU3jK9GI8aVxImTznpEv+nO78UKn11BNPWF 8Szg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=huPIGDsJDWnlkYGD8RjgTidc2vJbYvfd2l32RF6F7ME=; b=F9z/78idZ0Pt1vW8eJNXJFcTWpMHuhScVbHFE/pqoRAYidGdVhuAxnx8QFR+5JiGkv afxYCTHPfz70mekNwJ9sT8qGAC+/+szsTs5SlApsF3gqj748vr+Clk8nlqzmCMWPlrzF Io/fgrt3tG0NX2+vtRpCjhTFMHg2jZ+orSZsT9zi43PYfWIDcQRRWVUJWjTVmeRzRTWN M5AjZ9NfR9XKcU4YUZTsP5q5IZ3UpNmnyhGkOLVBC4q3yB+tMd41wGrOcUtJN0OJndtA Kkqk9ZlsG4bX31DzBrhnwkH/aiMk9ZqEqUtYtp/+f6Dorz40R1600OENFjHS9eiDXwlz 0+TA== X-Gm-Message-State: AOAM530CI8H2IO+7gOMIsqis2Jwl9maKzVx0dOEdkyx8EvUkVi+rnMLU b5BTXVMtdlDpI8q3IBFslVk= X-Received: by 2002:a2e:bd82:0:b0:241:130d:90b3 with SMTP id o2-20020a2ebd82000000b00241130d90b3mr13798892ljq.383.1645435176659; Mon, 21 Feb 2022 01:19:36 -0800 (PST) Received: from [192.168.1.103] ([178.176.73.51]) by smtp.gmail.com with ESMTPSA id a9sm795218lfl.180.2022.02.21.01.19.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 01:19:35 -0800 (PST) Subject: Re: [PATCH v10 1/4] MIPS: Loongson64: dts: update the display controller device node To: Sui Jingfeng <15330273260@189.cn>, Maxime Ripard , Thomas Zimmermann , Roland Scheidegger , Zack Rusin , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Thomas Bogendoerfer , Dan Carpenter , Krzysztof Kozlowski , Andrey Zhizhikin , Sam Ravnborg , "David S . Miller" , Jiaxun Yang , Lucas Stach , Maarten Lankhorst , Ilia Mirkin , Qing Zhang , suijingfeng Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20220220145554.117854-1-15330273260@189.cn> <20220220145554.117854-2-15330273260@189.cn> From: Sergei Shtylyov Message-ID: <08abcb14-f1f6-8be5-6309-cd16e0578c05@gmail.com> Date: Mon, 21 Feb 2022 12:19:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20220220145554.117854-2-15330273260@189.cn> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 2/20/22 5:55 PM, Sui Jingfeng wrote: > From: suijingfeng > > The display controller is a pci device, its PCI vendor id is 0x0014 > its PCI device id is 0x7a06. > > 1) In order to let the driver to know which chip the DC is contained > in, the compatible string of the display controller is updated > according to the chip's name. > > 2) Add display controller device node for ls2k1000 SoC > > Reported-by: Krzysztof Kozlowski > Signed-off-by: suijingfeng > Signed-off-by: Sui Jingfeng <15330273260@189.cn> > --- > arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 8 ++++++++ > arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 ++----- > 2 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > index 768cf2abcea3..af9cda540f9e 100644 > --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > @@ -209,6 +209,14 @@ gpu@5,0 { > interrupt-parent = <&liointc0>; > }; > > + lsdc: display-controller@6,0 { Shouldn't the node name just be "display", according to the section 2.2.2 of the DT spec? [...] > diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > index 2f45fce2cdc4..ec35ea9b2fe8 100644 > --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > @@ -160,11 +160,8 @@ gpu@6,0 { > interrupt-parent = <&pic>; > }; > > - dc@6,1 { > - compatible = "pci0014,7a06.0", > - "pci0014,7a06", > - "pciclass030000", > - "pciclass0300"; > + lsdc: display-controller@6,1 { Same here... [...] MBR, Sergey