Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp367754rwb; Thu, 1 Dec 2022 03:18:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf7SoIZ0ned15Lzj6gsifb3lj46LPa+REDgP342H9RbCi6vylSGLYcsEegECorgmRkRIvrOz X-Received: by 2002:a17:906:6d88:b0:7ad:b86b:3ff with SMTP id h8-20020a1709066d8800b007adb86b03ffmr57974098ejt.448.1669893487377; Thu, 01 Dec 2022 03:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669893487; cv=none; d=google.com; s=arc-20160816; b=QYIuVKSWlrRYkjjTF/Jx7qryWABsxIKvzKQ5nXrgQE1pG522pe3OB/aLuZ/zb9BdI9 ZfyllheeDV0HBk0A+jNrp6cqpbiHIPnE5Ou2Il1t+Tc0k6aEpuuzWOKKzuyExGSdvbzS dLDk2o39JFZtPP7nhW5ZKiO7/YCfFNNxhb2p4ogneEaKi0ffCSfDglJV1cvzT+3RgAmb xHLSBl0kqYWrTqqYar3TQkTZ4/u5kqrWumBLoivAiwivbktfj236GpoXkkgZtkkxD/Ws kMAcBIpAlJ/p47GvCVI8tmWFs805JBccxM3zdObZJdaYNzGDFa8NaZEZXCkBqVj0Lskv LYlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=J/eZE4D/NAfz2XU2y4AvBsOwg2b3llCcbz5gXra3FCA=; b=JAoJYBFFl5RmZWqz0tmc8Cz1X6ahM2RvXKD7O7rpxMHp/rruRorRGUisXRRtmRoNdU 3i2tY6rWympmVK8MBQ5lufJ/Ub6tvF+uRWgkVigNc3GBbdcivyI9r/B6Y2aMxwZdcAKf E2paIazsL41N6tcZLqibKduz8wLqhwb0sXHfhGCPEBE6nDXLEFA+2obgj+0i4E17ED7S cyPD7Wf8DGjMQLS4pqSw2L3OevJREsOOwHGBki14oD3roqDky+LPVQas1vXvj/9Azqzk melmsJ+qVYIjsu55VfqhqH8flqY9dHJeGnVvrMmjzV6x6kmgJJ8trVyCBQBxG/lLgGc/ lWtQ== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf11-20020a17090731cb00b00792e39c31dcsi3268356ejb.988.2022.12.01.03.17.47; Thu, 01 Dec 2022 03:18:07 -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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbiLAKZn (ORCPT + 82 others); Thu, 1 Dec 2022 05:25:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbiLAKZY (ORCPT ); Thu, 1 Dec 2022 05:25:24 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9C8FC99F4D for ; Thu, 1 Dec 2022 02:25:22 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0DA30D6E; Thu, 1 Dec 2022 02:25:29 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 86CB03F67D; Thu, 1 Dec 2022 02:25:21 -0800 (PST) Date: Thu, 1 Dec 2022 10:25:19 +0000 From: Sudeep Holla To: Wang Honghui Cc: Cristian Marussi , Sudeep Holla , Jassi Brar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH]mailbox/arm_scpi: Add to support Phytium FT2000/4 CPUs, show temperature of cpu. Message-ID: <20221201102519.epkictlook3lzs4q@bogus> References: <414EB9088FC46457+Y4hS8eOJa/XUQ8xR@TP-P15V> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <414EB9088FC46457+Y4hS8eOJa/XUQ8xR@TP-P15V> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Thu, Dec 01, 2022 at 03:08:33PM +0800, Wang Honghui wrote: > Add to support Phytium FT2000/4 CPUs, show temperature of cpu. > > Signed-off-by: Wang Honghui > --- > drivers/firmware/arm_scpi.c | 1 + > drivers/mailbox/Kconfig | 6 + > drivers/mailbox/Makefile | 2 + > drivers/mailbox/phytium_mailbox.c | 193 ++++++++++++++++++++++++++++++ > 4 files changed, 202 insertions(+) > create mode 100644 drivers/mailbox/phytium_mailbox.c > > diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c > index 435d0e2658a4..876eb2f9ff81 100644 > --- a/drivers/firmware/arm_scpi.c > +++ b/drivers/firmware/arm_scpi.c > @@ -904,6 +904,7 @@ static const struct of_device_id shmem_of_match[] __maybe_unused = { > { .compatible = "amlogic,meson-axg-scp-shmem", }, > { .compatible = "arm,juno-scp-shmem", }, > { .compatible = "arm,scp-shmem", }, > + { .compatible = "phytium,ft2004-scpi-shmem", }, Where is the binding for this new compatible ? And why do you need this ? Any particular reason why you can't use the generic "arm,scp-shmem" ? I don't see the need for this change. Please drop it. -- Regards, Sudeep