Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22091819rwd; Fri, 30 Jun 2023 03:54:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZdqQYLJdoMY9AeafIJ1xnq4OqHNlqJQ4z97lgxNR4ZD/gn9exi84Yg/0mJuPMYZtTenUA X-Received: by 2002:a05:6870:aa03:b0:1b0:5eeb:319d with SMTP id gv3-20020a056870aa0300b001b05eeb319dmr3127452oab.43.1688122465454; Fri, 30 Jun 2023 03:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688122465; cv=none; d=google.com; s=arc-20160816; b=teG4yh+PvibRnEiuEhJfHeofk8oKMXqRJGAeb0XuuT+5P5RO2C8JUCjXH4T5oOeGfZ yjJmqINbkdXdD7oSuI5Vs4LRK8EMRnmrVbLhZB9RndwJpak0XNeBzW13SNDejdrBZuS3 VJ84MSsOW3M7V0AH+yrgWuhIHpQ137wfyX8MVfk/dGdlCikZD6NH/KsIcd8qagKc6I8Z WO0XyBiZGca9B7bUMXUy10kJWh2bh94aCYLX8e6qfGAx9Bl9FewsEbHZaPiCd/P02hSD kDP16Vlpv2qTqJUBVjEHbQC4H/I+DQuDu0VWMIEIgLYkT55sLopPvFYsoBYlrhGB79BU i08Q== 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=L/ToBeMRyREX9liCkY9SfYyktsX+1+nACIsaFs4Qml4=; fh=/QPHva3s1KgxrpGt9MawY1vy02jSai2N8yZUuH/vFBg=; b=z5tVKp5pJIgqaouLFR0n055z36Ta+csc1dtIvkOxILQY8ZWi/JWYBA5eTV2sNuILx1 kbXV8c6N4dJUJhKXznkc46nGXHyr+R0uLPcARU+YnlJUIVAAi1j+Ts87eI4L+WBsnGam 2Yx4xyS+CEu8eqAJuI5EEsT8obYOA3q44EBCU9pnY5pCkzvHz0EdemffEPK19/yYbtBG cmUgn4QfVIyirFoi0bgJF/qdLqSZ/LuZ+/aqMV3utbJcQ0trqs+4Fj4xVXOW18umv/Jp cmE0MZ7CIAxFFxZV0w4lDnQWW3OlQBIRI0C6/U0dfhfPoYdOJ/XlMQEuGZ53f4suTLyM P0eg== 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 q62-20020a17090a754400b0025eee012ca4si944514pjk.30.2023.06.30.03.54.13; Fri, 30 Jun 2023 03:54:25 -0700 (PDT) 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 S232781AbjF3KmS (ORCPT + 99 others); Fri, 30 Jun 2023 06:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232903AbjF3Klz (ORCPT ); Fri, 30 Jun 2023 06:41:55 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32FA746BA; Fri, 30 Jun 2023 03:40:32 -0700 (PDT) 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 E5C1ED75; Fri, 30 Jun 2023 03:39:34 -0700 (PDT) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DD2A03F663; Fri, 30 Jun 2023 03:38:49 -0700 (PDT) Date: Fri, 30 Jun 2023 11:38:47 +0100 From: Cristian Marussi To: Oleksii Moisieiev Cc: "sudeep.holla@arm.com" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" Subject: Re: [PATCH v3 0/4] firmware: arm_scmi: Add SCMI v3.2 pincontrol protocol basic support Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 Tue, Jun 06, 2023 at 04:22:26PM +0000, Oleksii Moisieiev wrote: > This Patch series is intended to introduce the potential generic driver for > pin controls over SCMI protocol, provided in the latest beta version of DEN0056 [0]. > > On ARM-based systems, a separate Cortex-M based System Control Processor (SCP) > provides control on pins, as well as with power, clocks, reset controllers. In this case, > kernel should use one of the possible transports, described in [0] to access SCP and > control clocks/power-domains etc. This driver is using SMC transport to communicate with SCP via > SCMI protocol and access to the Pin Control Subsystem. > Hi Oleksii, sorry this review has been a bit delayed, I tested V3 in my setup and found no practical issue. I'll post a few comments/remarks along the series. Beside addressing pending comments, I suppose that the next step will be anyway to address the upcoming changes in the new v3.2 BETA regarding support for multiple type/value set/get operations as requested by Peng. Thanks, Cristian