Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4395013pxb; Mon, 21 Feb 2022 20:10:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzt9FJkY1WplrlXtQJQd0rKy3YlKDy0WipurkXM8Q9ZAJElEMexIVIruCFO8Tir1ovUl1zj X-Received: by 2002:a63:f14b:0:b0:374:7b9e:dc8f with SMTP id o11-20020a63f14b000000b003747b9edc8fmr1305746pgk.357.1645503018828; Mon, 21 Feb 2022 20:10:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645503018; cv=none; d=google.com; s=arc-20160816; b=Fev1Ery2US3LN8fZzre/6ixQssKW5eHvziCf/GXl7k9Dh4UL+U7NmmzfPpmcX+euhb W7pRo5aTlmd0ly0N7/iMAa1w4NBdGGeNP3j0gmADrq5B+nBGjdXno/cpaRC1/LGeA3+5 +/jfqGOrCsBDpxoxHMk+UpNBrhVe8IyFpZTv/hYOC4MZVu671JlmjwOzrKDALFqG1FIH 9NIw418M92kwhE5L2uNweP5QM487iUHAzz+aYRb+eXBupXwGxffpgXMGZ3RpZeTuLMAD c+jgrNSdMnYjTIMDKXED1/T6lMcJtCbQWAcNCfkWCarEHswqjmI/PO7TzDeHYZguZZRB BgiQ== 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:sender:hmm_source_type:hmm_attache_num :hmm_source_ip; bh=nClpVllRrow9TUmH52S19QPe+3OD44hRy8Bv57GZqV0=; b=F5+lGIkqzUWz2RIbmmoyMTJj/uIUSkXf8l0hy0yR5GNPtmJIpBSy9Szg+QODLoliSp mDzeZxXtCJ17xpFgzD8RtvnYL/vaAhSa2JcFE1C0r34exMmaRZKV/AtR/WAcx7d0shoB ercLV4UAVxqABypGq3cHW0HXWyfI1qJMB/YiXVZogzGL2wMSHOvGvwaqQzZZu5/C0p++ W0j3ln/jFym0mKiq8botWsm51wx7ypn/5YshOKvWIucDXwTK1/WwAZVOAry8pFKnw+VA lVPaQfD85BBGR4PRf61YMeHcSxCaXUxEyBmVOpz/SY8LPDodm/dPdnBvOe8+qfksFh9n f/KA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q16si35465318plh.154.2022.02.21.20.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:10:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E89D470F7C; Mon, 21 Feb 2022 20:10:08 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377148AbiBUN60 (ORCPT + 99 others); Mon, 21 Feb 2022 08:58:26 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240657AbiBUN6Z (ORCPT ); Mon, 21 Feb 2022 08:58:25 -0500 Received: from 189.cn (ptr.189.cn [183.61.185.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A19A1A39C; Mon, 21 Feb 2022 05:58:01 -0800 (PST) HMM_SOURCE_IP: 10.64.8.31:59254.195918271 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.31]) by 189.cn (HERMES) with SMTP id 563A2100135; Mon, 21 Feb 2022 21:57:58 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-b7fbf7d79-bwdqx with ESMTP id 790f91e6d89f49e2b448534c2e4e6940 for krzk@kernel.org; Mon, 21 Feb 2022 21:58:00 CST X-Transaction-ID: 790f91e6d89f49e2b448534c2e4e6940 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn Message-ID: <50e3d6c3-93a4-c248-e6df-8ec1636f5da8@189.cn> Date: Mon, 21 Feb 2022 21:57:53 +0800 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: Krzysztof Kozlowski , Sergei Shtylyov , 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: Sui Jingfeng <15330273260@189.cn> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,SPOOFED_FREEMAIL_NO_RDNS, 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 2022/2/21 18:01, Krzysztof Kozlowski wrote: > 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 Extremely correct.