From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07B27C433EF for ; Thu, 14 Oct 2021 15:11:52 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84B9861151 for ; Thu, 14 Oct 2021 15:11:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 84B9861151 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 611108378E; Thu, 14 Oct 2021 17:11:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="bcld/T6f"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8DB16837A0; Thu, 14 Oct 2021 17:10:28 +0200 (CEST) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BEC3283799 for ; Thu, 14 Oct 2021 17:10:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ot1-x331.google.com with SMTP id g62-20020a9d2dc4000000b0054752cfbc59so8679704otb.1 for ; Thu, 14 Oct 2021 08:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wuL4eIdG2dhR14xP+ZmFiF9Oe2oxiVto3uwarH3Xkkw=; b=bcld/T6fdFR0zwscrKTGGDBpFhoU4RSLrqAEE4x6hW7yUODKMk/bfggD7UT4YR/U0r vNRIY/IXlFdUgBtFDCvjlgEkyPADe0l1dfUlNZlKiw3hIw8kNzJ4JePGjyCNaSNscrOj nJZFA+/gbmKycpxjf6N9JB3X0imh11HGj2jeM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wuL4eIdG2dhR14xP+ZmFiF9Oe2oxiVto3uwarH3Xkkw=; b=1cGsaD5H20sKRPife7V8kfXxm9CbRRl3p4SEuGc0wUsGv+xQKKt8J3hwLGTWBXqNU1 6BmJ6g/WO8n0cDCCfV6Zr9oVqfEB4mUrLx3AqdPzK3iFVAwY95EacW9GGxUe+PoQMKO3 WsFDT6k4Y+GwNGsrrfOyVDKCIq4HtGtkS9odkKZ/nK2HORQkvylTeKRbmFOPXosI9Bp8 z6kpVl0kyiho/kudXsjRqP3KC3YFBeqgDYVwUHKYfZThLJvXaLPMFjZxvNjeogTtXib7 GQprLKeAvgmyKbqoSP8EIiy32o5CNUeRtfMOJZInFeITNn+J5gn9oaccI5zg4Q8Wbqci LAgg== X-Gm-Message-State: AOAM532rpxf+tWYpxM2snkzFl9jIIR1GftjWOjEwnVQzE2s8GKXbQtCB s9NRhAhRhQ+kBC3zaG8YWpbVuZdQgppmH0joeV2ybg== X-Google-Smtp-Source: ABdhPJzYNkb73Sox1ENFywuuJLCASmdaLYl3aD8W8CgbocLXAQhQ89pwc5hTpXnKaHtxFajp+uqdVI/L+u9B/mIUY2E= X-Received: by 2002:a9d:7b49:: with SMTP id f9mr3076950oto.11.1634224214201; Thu, 14 Oct 2021 08:10:14 -0700 (PDT) MIME-Version: 1.0 References: <20211008063715.13375-1-dsankouski@gmail.com> <20211008063715.13375-2-dsankouski@gmail.com> In-Reply-To: <20211008063715.13375-2-dsankouski@gmail.com> From: Simon Glass Date: Thu, 14 Oct 2021 09:10:00 -0600 Message-ID: Subject: Re: [PATCH 2/6 v4] spmi: msm: add arbiter version 5 support To: Dzmitry Sankouski Cc: U-Boot Mailing List , Ramon Fried , Tom Rini Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 8 Oct 2021 at 05:43, Dzmitry Sankouski wrote: > > Currently driver supports only version 1 and 2. > Version 5 has slightly different registers structure > > Signed-off-by: Dzmitry Sankouski > Cc: Ramon Fried > Cc: Tom Rini > --- > Changes for v2: > - change string formats in debug statements > Changes for v3: > - remove if else braces where possible > Changes for v4: > - change variable type to fix pointer cast warning > > MAINTAINERS | 1 + > drivers/spmi/spmi-msm.c | 154 +++++++++++++++++++++++++++------------- > 2 files changed, 105 insertions(+), 50 deletions(-) > Reviewed-by: Simon Glass