Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp252444pxt; Fri, 6 Aug 2021 00:47:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDF3hYdnS+I/xvsHftKUWZlqZ7CxrlJ3lvazFOT/v1Ah0XmqzhxZQt07GBLT5JGNeVCvWW X-Received: by 2002:a05:6e02:1a83:: with SMTP id k3mr297522ilv.150.1628236053121; Fri, 06 Aug 2021 00:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628236053; cv=none; d=google.com; s=arc-20160816; b=vz3Ay40MGFNg1N3WmKlT7pamPSLWK5t4f+XQwfe89OJ61iHB88CLPVk/U/GZfgITp6 TL5uUr99orS+QnH506lHZx2TVevMgH54dDBC/NQwpvl0pOv7Px+/Rt8dqXNpX5r+pg62 YDa0elAJ3zIlJuQHoAyFKdAoYpKX5+YRAeJZpapgqcoptZfSFrhZCNx7MUtbJsVen5Q7 j1XyRT97QdTEaQctMAVvFZw5/WEswmZziuN2TQsmDzqGIKCmWp0GXd69zOUG7+X12b5s SYRSw871V4SKU+dsLfMnZf07ArHKCV465+DVXSHkjFgWTlsjLnexi6F8l5LKZUFPnPqI HssA== 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; bh=gTpod/CLXBACvShn6nFWud8huIYTF6JruY+bB3c2x7o=; b=GSOEhXBhphEB3q38UJgExmatoHx01TckbnYWn78duVWMrKI0aj2mIi7gTEeSLRjKCo k/NmbG3tzD4DOjweW7Ez3+V4EYhVIBtOn/Jri08mjWDyyTfsIMsXk9nGPLu82BmjgZZo Fdq82CpDLgQevWhs0g+6oFXy4VET+0LTIz7L1KqbKLosOivc3GAwB/46QIkJyPPIILhH gv5iNhbtS4Q9Ygi1DLEOxbqpD2mDdiOGm2GERWP0r8MCDBpF0CzLveb4IJ+jnw+pSwIN 4chSJw9Nd4yzqysg48EAhp+5N5+CQ46wVX26dH3bRt8dMATHHvtdZkNhaLa0c5Z9Mkvj 6W4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si7759427jap.23.2021.08.06.00.47.21; Fri, 06 Aug 2021 00:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242946AbhHFEyO (ORCPT + 99 others); Fri, 6 Aug 2021 00:54:14 -0400 Received: from pegase2.c-s.fr ([93.17.235.10]:59243 "EHLO pegase2.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbhHFEyM (ORCPT ); Fri, 6 Aug 2021 00:54:12 -0400 Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4GgtRQ4Drfz9sV2; Fri, 6 Aug 2021 06:53:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VObFj0xlKBw1; Fri, 6 Aug 2021 06:53:54 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4GgtRQ31z0z9sSt; Fri, 6 Aug 2021 06:53:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D0DFC8B7FE; Fri, 6 Aug 2021 06:53:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 343h2AQwUROS; Fri, 6 Aug 2021 06:53:53 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E4C8A8B7FD; Fri, 6 Aug 2021 06:53:49 +0200 (CEST) Subject: Re: [PATCH v4] soc: fsl: qe: convert QE interrupt controller to platform_device To: Saravana Kannan , Maxim Kochetkov Cc: kernel test robot , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, Dan Carpenter , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, qiang.zhao@nxp.com References: <20210803113538.560277-1-fido_max@inbox.ru> From: Christophe Leroy Message-ID: Date: Fri, 6 Aug 2021 06:53:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 06/08/2021 à 06:39, Saravana Kannan a écrit : > On Thu, Aug 5, 2021 at 9:35 PM Maxim Kochetkov wrote: >> >> 03.08.2021 20:51, Saravana Kannan wrote: >>>> So lets convert this driver to simple platform_device with probe(). >>>> Also use platform_get_ and devm_ family function to get/allocate >>>> resources and drop unused .compatible = "qeic". >>> Yes, please! >> >> Should I totally drop { .type = "qeic"}, or keep? > > Sorry for the confusion. My "Yes, please"!" was a show of support for > switching this to a proper platform driver. Not a response to that > specific question. > > I didn't look at the code/DT close enough to know/care about the "type" part. > As far as I understand, Leo told it needs to remain, based on his answer below: "From the original code, this should be type = "qeic". It is not defined in current binding but probably needed for backward compatibility." Christophe