Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4542302pxt; Wed, 11 Aug 2021 08:18:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYaZHGXZVN4KQ2fMG97a0wVwEmi+m6bnE9PYWyx2lZCHDd4ST3L4bFpsLzPdX8hbfZuTqT X-Received: by 2002:a92:cec5:: with SMTP id z5mr141780ilq.226.1628695133410; Wed, 11 Aug 2021 08:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628695133; cv=none; d=google.com; s=arc-20160816; b=UzVUblxBMDh90mbtlb55Dw/zw9VCyBRqTVvkjgTxpIlyLb47oAyRnK+acup/2xdHXX cby7lgWZRqKeFOaWtYVfmL7kmuO3XR/MO3PdL12jZ3OR9DVM+zBC8QE8IovPyPJrxFrt WImU7U7qXCbTmZ4X5lGJXq1vp7j7XTyBMZPcGxUufpDfd/RE/n0b3m0PdZdyo/3/9Zyl o+8ZE5IN7A8cOAHcL//PGF8oFAIWf7qYDSF2ouodE0OAGu6gifJFiUVKb7hsRhiZPSSw NRt3L9BaT+T+0VJeFb3ncsG79HQbGn6TVIkHFQIMZV2nrVPwygOfh+9oVZAnOXU6zdP+ EhUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/0lDg+NImY6s6wrrkXig40C8tKxVtluzWl+MqfNgFF8=; b=kSrCZ4EFim0x4m8emEPUMJKJz+z40wWBC2tmBKS1VqPTffxlTJoVK83BCTwV+sPHo1 0lr2GvRicJMcqeNerxt4b6RzIPSclMki9KK0xLo/ToLviITnNO8BRzAG7K9lN32lDQMY ugaaJpChYoswK/TK8dM/0ztC6r3jDGZfBpJ+XC6AnmZIvDr6YHirc95u93hkBBma1yBc erFLY4LIrQ+CrHq/BQ9j7edTzJ+RzuKxIC7GceLvVH29d2VJKCiyHZJPIxgwHVfkXBWj Haofbrqyltybl5TSTpH32aZOu2JYQ4PpJjL3xHJfLQmZoUEHxHVjSKoTcIZBXPqQ24tO tqWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ce6JQNzC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si237473ilf.11.2021.08.11.08.18.38; Wed, 11 Aug 2021 08:18:53 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Ce6JQNzC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233058AbhHKPRB (ORCPT + 99 others); Wed, 11 Aug 2021 11:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbhHKPPe (ORCPT ); Wed, 11 Aug 2021 11:15:34 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27D0C061765 for ; Wed, 11 Aug 2021 08:14:32 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id h2so5189944lji.6 for ; Wed, 11 Aug 2021 08:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/0lDg+NImY6s6wrrkXig40C8tKxVtluzWl+MqfNgFF8=; b=Ce6JQNzC9o3guXHmwPdAlP5mDp+4HOxpqLsiszR2taDsyHd5aZaTtsEiOYzxcA/Euo m54gnDiSAMUsefUpZmERfYaICrSTLWJnss4J6jqUP28MsYD/M/bsudMDrwWw1drgF+11 nOaf410iZooybX//Wf08Ka8ZqhmrlLQ8L72boSQnqHy2Ib+K43FyGyfhpWGUj9x2tHJC L5Z3j69a2LgLORqEKz40DeaNSjfU8XuH3+JNL9keKcASIm0brFhxaOML27UvakZ4w2da IZjxzmrnezYfxVthIm88z0AuFFggizbyH/OCvs1HHNsD59HEtXjUK6jkxAQGeotT/7Nk ULdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/0lDg+NImY6s6wrrkXig40C8tKxVtluzWl+MqfNgFF8=; b=nd3j7G+6vM6mDYA5/H0Z3tYiPQTZNjBWdBl1bmtfRCheePxsI5ElaARjsr1N0Ub7HF F2vBIp+ndt3uWxOuJdIb/QeyVLIbPi3dCLptcq+goG32SzYCOWnmjampE665z85lDLHp ZMrdVc/AODYY9gk+0RjlMKy9jjiuqTj9PTEEvGBHcZIo/fK1K216+EZDWB7oXowGXBvl u7HHi0ZltyuEk49gOE6uogDo0ybBjMDHbhxjPjfbvM9mQsS+TtTRWt2It2eiMSwoLIEO 19hdhb4U4A5imyHOHDtOUCUIW3MXboURnAeozRgOxY7DshTBirE/EcdxgzpnHYp3YG+X +4ug== X-Gm-Message-State: AOAM5317x/6F7a9wOYmtNFugBEBc9yYE4XtiejKmc02ap4VflFQRuSiR jv2umZflKCxHGDXgqlrJg60V0kSs7PEe+/ByJ34cOg== X-Received: by 2002:a2e:a231:: with SMTP id i17mr13187319ljm.467.1628694871026; Wed, 11 Aug 2021 08:14:31 -0700 (PDT) MIME-Version: 1.0 References: <20210805174219.3000667-1-piyush.mehta@xilinx.com> <20210805174219.3000667-2-piyush.mehta@xilinx.com> In-Reply-To: <20210805174219.3000667-2-piyush.mehta@xilinx.com> From: Linus Walleij Date: Wed, 11 Aug 2021 17:14:20 +0200 Message-ID: Subject: Re: [PATCH V2 1/3] firmware: zynqmp: Add MMIO read and write support for PS_MODE pin To: Piyush Mehta Cc: Arnd Bergmann , Zou Wei , Greg KH , Michal Simek , wendy.liang@xilinx.com, Nobuhiro Iwamatsu , Bartosz Golaszewski , Rob Herring , rajan.vaja@xilinx.com, "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , git , Srinivas Goud , Linux ARM , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 5, 2021 at 7:42 PM Piyush Mehta wrote: > Add Xilinx ZynqMP firmware MMIO APIs support to set and get PS_MODE > pins value and status. These APIs create an interface path between > mode pin controller driver and low-level API to access GPIO pins. > > Signed-off-by: Piyush Mehta > --- > Changes in v2: After Michals description of how this is controlling USB PHY and misc resets I'm OK with the concept. Acked-by: Linus Walleij Yours, Linus Walleij