Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp807114rwb; Thu, 18 Aug 2022 12:35:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR7F3pgSzeZ0dU+Lq01eXm5uYNYbejkPxfSldSjMnS0kT/12BMpoASycEikpH3MlQbcZy/vr X-Received: by 2002:a05:6402:1945:b0:446:692:8aeb with SMTP id f5-20020a056402194500b0044606928aebmr3266308edz.403.1660851302424; Thu, 18 Aug 2022 12:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660851302; cv=none; d=google.com; s=arc-20160816; b=n3FCcxtbw89fkqI+NG+YiC8MPOlFrJv4yrNTTpF4n5ZA6qOmhFYEb9kbJcpm/ejZvX Q5osvVgIk6/cxq+dlonjbpwLalH2QqxJNYQtJYM22dOKhS+OsYDpgUEQpg6p7fUpYbok gW7fw5JHYheoM9nlC2q3IJsqftU+qoNQXBBYv0EMFm4DvFhyDUGwy16YZ7F1MGNGDZbb 7Cy6J06+Wfq8eVF4+zyylPJgcLc02B/rDsyPq3Q5vbqEugpd0CYbtoVkQ4+i24AcNiXC wntEsG6f6e/gTEZn2SZUI/6dFExEQHloJ/EH4owhGx+v/ESBqxNfMRixzs9qEc9kxvPL uw+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5NWVL3tQy4qA1pqlSSiWCGc9yD+avOvpY/hcNs8st6E=; b=tNJhVtAvIwjTpy1EaEAdcZoxRF4WMYUDD7JV9p/f1+ia/zRgY3TddE7QKsISSYsTV3 xenjhhDhMTMAC/WRUrSwpyXFqgRXxyhCAt6iFlv2hCe8Iiuo3nBHI0V1jozkq01mT/jl GCvTyS4e2DhYH/pGShHjpIjWP9Soyp5voNBcBGGtoAllgmxNUBb0t5KKK+TpgSJBJ90Z 7/65+EtErSD4VK8oewo9YZ7KHeVSsudbeHCVeEpnQHScKIwtQ7M3q56QIV+1dZXZckPN mqFXlPgGdpbxygpCvdKYRpqD4xD89rqdmhLCJ/rmkLescA1V867Dy8MVbFGgIz4USvYT +/7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b="fL/lkjww"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a50cbc7000000b0043be308c841si1534784edi.251.2022.08.18.12.34.35; Thu, 18 Aug 2022 12:35:02 -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; dkim=pass header.i=@kali.org header.s=google header.b="fL/lkjww"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239031AbiHRTZh (ORCPT + 99 others); Thu, 18 Aug 2022 15:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238835AbiHRTZf (ORCPT ); Thu, 18 Aug 2022 15:25:35 -0400 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A971C9EA4 for ; Thu, 18 Aug 2022 12:25:34 -0700 (PDT) Received: by mail-oi1-x22e.google.com with SMTP id u9so2552731oiv.12 for ; Thu, 18 Aug 2022 12:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=5NWVL3tQy4qA1pqlSSiWCGc9yD+avOvpY/hcNs8st6E=; b=fL/lkjwwLeAHRLF8axi8oo+M5EZKDJy+juiENY4UCGS6wyYKBCGMwWWBitHcQZsyzE 7RJRRaHsX6XDTpSJkTxcgxrBdB25A51haa+faC3iswFrF8ImoYlJ2/QwfKuj7G6Yj4Tf BkZoSX7Ov9ulNqtZMhEbn4fiXIhb8e0h2ap5MrmSIFKIIe8S7bUIETvxj+6q4iX1NdTc zAXDt7JLU4Yf0nNwFX6fuaPUe5fNljrc6YlSKVu4VzeSjJgSvWrIC+2dfLR7FGD2OBsM F+DpFuB2AO7VKkd78bDjveNEJgPSJfF7JauAIUB1hbbP2usLAL1Y8DjoNYrC2Xm1JmOW vd5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=5NWVL3tQy4qA1pqlSSiWCGc9yD+avOvpY/hcNs8st6E=; b=Pj1yGJxRyWjHZAoK/UatoJZP0KrkBl/imgZ+ftgQ38ViBvoxZzeO0i/kYSOuIwfv2b EmgJ3QmfYjAZcyUt/2ZeCGqDbClCt9Al6SfUovuki2qw/nQApC5VHq/sbyTM6PXRSGI8 MQLmwiZW/ck7ZWxhxN98CrLuQ8K5XU0YOx70IH/SFSJQ6G0h/XFuDq8TLINIA+7vc64m 0duUwwdgkbx3G8p36tN6yQ1NjBbsxfE7iJaXZzYTa73m6ww9EWWnXDDR3jBhvedlJYa1 syqPrxgK1Sp5OHha9d2U45EBXWWACyuGlQ0eMPaiYDdf2PBbM4QHbqIMnchD99TZ2z7h CH3A== X-Gm-Message-State: ACgBeo1FIleH+x6V32EHsuBP5mBKUR5xOm+4S5Racj4jPxBJCHPa1uNq /bRdU0Wsu1lSCE1vpAbAKNU6XQ== X-Received: by 2002:a05:6808:f90:b0:343:5b7d:d594 with SMTP id o16-20020a0568080f9000b003435b7dd594mr1993988oiw.68.1660850733540; Thu, 18 Aug 2022 12:25:33 -0700 (PDT) Received: from [192.168.11.16] (cpe-173-173-107-246.satx.res.rr.com. [173.173.107.246]) by smtp.gmail.com with ESMTPSA id k24-20020a05680808d800b0033a37114eb0sm547790oij.19.2022.08.18.12.25.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 12:25:33 -0700 (PDT) Message-ID: Date: Thu, 18 Aug 2022 14:25:31 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 0/4] soc: qcom: Introduce PMIC GLINK Content-Language: en-US To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Sebastian Reichel Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20220818031512.319310-1-bjorn.andersson@linaro.org> From: Steev Klimaszewski In-Reply-To: <20220818031512.319310-1-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 8/17/22 10:15 PM, Bjorn Andersson wrote: > This implements the base PMIC GLINK driver, a power_supply driver and a driver > for the USB Type-C altmode protocol. This has been tested and shown to provide > battery information, USB Type-C switch and mux requests and DisplayPort > notifications on SC8180X, SC8280XP and SM8350. > > Bjorn Andersson (4): > dt-bindings: soc: qcom: Introduce PMIC GLINK binding > soc: qcom: pmic_glink: Introduce base PMIC GLINK driver > soc: qcom: pmic_glink: Introduce altmode support > power: supply: Introduce Qualcomm PMIC GLINK power supply > > .../bindings/soc/qcom/qcom,pmic-glink.yaml | 98 ++ > drivers/power/supply/Kconfig | 9 + > drivers/power/supply/Makefile | 1 + > drivers/power/supply/qcom_battmgr.c | 1422 +++++++++++++++++ > drivers/soc/qcom/Kconfig | 14 + > drivers/soc/qcom/Makefile | 2 + > drivers/soc/qcom/pmic_glink.c | 336 ++++ > drivers/soc/qcom/pmic_glink_altmode.c | 477 ++++++ > include/linux/soc/qcom/pmic_glink.h | 32 + > 9 files changed, 2391 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml > create mode 100644 drivers/power/supply/qcom_battmgr.c > create mode 100644 drivers/soc/qcom/pmic_glink.c > create mode 100644 drivers/soc/qcom/pmic_glink_altmode.c > create mode 100644 include/linux/soc/qcom/pmic_glink.h > Tested-by: Steev Klimaszewski #Thinkpad X13s