Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4366275pxb; Mon, 21 Feb 2022 19:14:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJy84jBIU1UslK3i6DL9m9VXf212F5bLdm7zs3vvFlHYMbLVLkas7dMCXhA8HoZCZiWUid2J X-Received: by 2002:a63:e817:0:b0:373:8abb:2c51 with SMTP id s23-20020a63e817000000b003738abb2c51mr18424219pgh.185.1645499656854; Mon, 21 Feb 2022 19:14:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645499656; cv=none; d=google.com; s=arc-20160816; b=lqozunj4JMOl8Dt2DTGfM+JdqZH+jaGLEG8X4U+vTxQASVfFj/7E5H2+a6LZBl13c6 sm3/1k+FWPC9/lHCETC4TJmuH27R3dvI/Nvudqc0uemmEwndPMe9TjeoM08cxfIhyOp1 Uw+RiW6aoJ352ZMz1sn56zCdKLjJUe8+cn40MgKkA0P3colgo8FOFebsem4Mcs9BfIqQ fSSzSjuFA/MKSSwKYXGV5yVMriOAGmgaerhA+xM4cV9T9nQTMEYXgMXXk2zZ4cWU4hMP 49lrwAyMtzhd7it+PRxVxbwQRWmYp8daDz/v383jKAqkBBSvINP6/5nGmY5kWi0/I4n8 LKWg== 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; bh=YZ+si3odyYtBfKCwmZtlljyYoUebhhvf4uslsh/s+F4=; b=uCxgEB1AWLdusyafRt9yr1vheezFuc9qhRnCIhL6cv+52wXsNHF6jnlNDEvfQOUxK6 m95C+2p8moxhMhXiwPJwgV2iTLk5EUQnd9kUO/xsNnydr3pXSESjYPkN6R0XzYyWgLoo /IczYxmU4k84E/zS7u5UJOx2cz98hF84Fix9Xa0DUZSDCzLVBlogbQmEoeibI//m92XE RPPnDA62j6zSFnawOdnxJlUrKkC2lHiZTHI0azw/RNvbitSycaCwQ0cr7REr8HMx9q0B P2zOSUkO/fmXa4hpWP+ZmjDyCaNJkmHTNvZeXtQ7SJSLPcSeaXUM9zdvupE0R2hlx4Gi gzwg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bh11si20587787pgb.473.2022.02.21.19.14.01; Mon, 21 Feb 2022 19:14:16 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356063AbiBUKmX (ORCPT + 99 others); Mon, 21 Feb 2022 05:42:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355175AbiBUKkB (ORCPT ); Mon, 21 Feb 2022 05:40:01 -0500 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B24C2E9B; Mon, 21 Feb 2022 02:01:53 -0800 (PST) Received: by mail-wr1-f49.google.com with SMTP id m27so14267219wrb.4; Mon, 21 Feb 2022 02:01:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=YZ+si3odyYtBfKCwmZtlljyYoUebhhvf4uslsh/s+F4=; b=7j90WRpima8SkDjbxZ99PgrwljlxTuf3uJ0AEu8yOKNK0T8/TrPJBEKduV1EssbyI5 HnQO4t0f03epmXHqXpZE4j4+gQkH/cPMXLSF4ewvft/IG6mY+eDjOMGPdt9/BJ01T+Dm o/mBlqmwuXn78aIZzzDSMcqwXMEQ7X2CMwXdxqpAQwTx4ZjAAHnVlNwlggvNcpaRvFPA VgikTqi1Hbg1jKVQago4AbxrcOVhu2M7ZbQYgEo9d3RBhxJ1WINAOSFkO3BNpizkfVBb gjIGMqA/1lwArnLlBmJfY6gkcN8zIzBaJ0vNY7I9JYlfaW8pEp65NcRbpwBeeSqOTDK2 hOSg== X-Gm-Message-State: AOAM533huutrR9fSqTSiT3QCh69Z9QXiz2Sgh2t7zzNyVxD6pYDuInOG 7H8GCRuzyCdvxct8r8eENYTeUl/SEt0= X-Received: by 2002:adf:fb8e:0:b0:1e3:241b:218c with SMTP id a14-20020adffb8e000000b001e3241b218cmr15194533wrr.359.1645437712057; Mon, 21 Feb 2022 02:01:52 -0800 (PST) Received: from [192.168.0.120] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.googlemail.com with ESMTPSA id q76sm7668095wme.1.2022.02.21.02.01.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 02:01:51 -0800 (PST) Message-ID: Date: Mon, 21 Feb 2022 11:01:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v10 1/4] MIPS: Loongson64: dts: update the display controller device node Content-Language: en-US To: Sergei Shtylyov , 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 , 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> <08abcb14-f1f6-8be5-6309-cd16e0578c05@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <08abcb14-f1f6-8be5-6309-cd16e0578c05@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 21/02/2022 10:19, Sergei Shtylyov wrote: > 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? lcd-controller, led-controller. As I understood from the bindings, this is not physical device displaying something (like a panel) but rather a device controlling such panel. Therefore display-controller feels appropriate. Best regards, Krzysztof