Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6624061rwb; Tue, 9 Aug 2022 20:25:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR7x+aJ1XN+VAYw+7bfGP2qC6xBONiR/nUHfYk2j1mGrN3L97lYrrDRV5gtl/0r9TrtRy/XG X-Received: by 2002:a17:902:9a41:b0:171:389a:554f with SMTP id x1-20020a1709029a4100b00171389a554fmr644908plv.122.1660101900685; Tue, 09 Aug 2022 20:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660101900; cv=none; d=google.com; s=arc-20160816; b=jXJjz+K0Z4dJx0VMDOnwTbregiJ/o23L7rPBtxcJJ9twteKPcgq5/u7yCMtxhilcr8 +MIZu4k5794L9wHnN1cgftVsgM1xKmnIWdgZpRS9pwLUol32txt4UFvkl91MlBjc2axu S9dywi3jrpxGzmWCbRSF74eD1iJw0toBSushqR4ugyo/b64PgmyuJfry74/DYFyrK05I /Jp35L4xg7J20Xf67Ze/UpMLZZ3r5u4cNpbZajZEz17085HRlF7QrFWZRp6K9yKz6iPB N7VYdqSWTO0ljwgXXwk1Bzn0VJ+GBJfZkzuFPS5wktPC186sc7zqrrneboyIvDZHBwgF ATNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rD2IyCzgtwCTzMLZzwIE/tb4oOftEB3n0yJKBiPeWqk=; b=U6bVmiF6kh2DlwF0UvwN9yp8f3/e2qauimnVEg8la7/c6BX706AKvweEpUloDNNTCR F3wROTste0eEd+Q8uRxaDidx1u9u5wFpPJS+TwGV+dXXCUjfWEDX5u38Q1G5gQ5ZGyEC j5z0KZfXooS2v+iWQ2/QQJuL4yOs9sMVeQcUnLrZFzKXktel2aAkkdgdJmsK/wF77tc6 +21ZXwyic5NBIeWnUu/CsXZDc5EJdW79ntcH9C2kehWeJ9le3h0p4PmGA1C17EzPbN3J h1IdzcPwfx4gTeqclmVcqefU42y5Xxyng8mvVKJg9fhNMkk9AJ+EjQPAZRwFviaEVoxh oZXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UYMg4CGk; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a056a0010c800b0052820869eccsi1641335pfu.105.2022.08.09.20.24.48; Tue, 09 Aug 2022 20:25:00 -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=@linaro.org header.s=google header.b=UYMg4CGk; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbiHJDFN (ORCPT + 99 others); Tue, 9 Aug 2022 23:05:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbiHJDFF (ORCPT ); Tue, 9 Aug 2022 23:05:05 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D457754A for ; Tue, 9 Aug 2022 20:05:03 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id j5so10508405oih.6 for ; Tue, 09 Aug 2022 20:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=rD2IyCzgtwCTzMLZzwIE/tb4oOftEB3n0yJKBiPeWqk=; b=UYMg4CGkX0lpqYqaTLWTh/oZoAsza29UnZN+v6fgIHyB29UiemiOIjPXy9Sj78Xirh 4nBt1/P2oB0qBeTEjR5UjzGbCJXGNAg9pO5E7FOOPooqXxrrzAZYdI2YyQktK6WrnrBv KhYjT75iEdt1JVcieiw1Xiw33npdRpsVU1c7XawsJF1IYKWuKMCV6LHl3Vr//TjWCijJ nZoS3TdVxQEMQ8ySV63bd26w9xtii/1Bp+VqsB56v/1hk95kPvwqtTaczwEEd6nIzfpv meMCTXUJ3Islgsfo2alhb8HuIlxCLy1FfLwx7QqKHqkqQmbvq3VXBu60duGCz58cwdXC cpQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=rD2IyCzgtwCTzMLZzwIE/tb4oOftEB3n0yJKBiPeWqk=; b=VRaNkJ0SRRyFp1qNLi9+Cs8arxATnZwp7lxlXogV17Oi1mVlQhRvi+Kj4SJhhmahVc sBzoNhN/MjGND7d73EOmy15jmkh4w7NooULesBamEJkT36AJvDqeXdWjXtYIhIrwn5bX 6I6VxfhjYlWKsxvQB3jP8GKOtwLorCuFZ5xu8Yhta2FBIf5S081QjkZoRDEj+Qgv3JBx SK+zvD5O9TF9xALJ92+npkHrs+i0tYfRHKkpS164wD6SErgxoPBRgUeixm2rXgN92YN0 2Cx5rRQdKkDMkqMXznJxf0gUmAVcz2R18OS7qvCm8KF8lVA/Glw+sVLW0ztBfiI0zskm MCgA== X-Gm-Message-State: ACgBeo1xDx4GdGKztNmysD6qRhg961yPc75qeC6IMgaAaXbGcXxlu+Cf 1GwSQXBeaII7NHEnFO+iQNZV0w== X-Received: by 2002:aca:ad0c:0:b0:342:f3e2:32a9 with SMTP id w12-20020acaad0c000000b00342f3e232a9mr595420oie.261.1660100702475; Tue, 09 Aug 2022 20:05:02 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id s20-20020a0568080b1400b0032f0fd7e1f8sm409004oij.39.2022.08.09.20.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 20:05:01 -0700 (PDT) From: Bjorn Andersson To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/2] power: supply: Lenovo Yoga C630 EC Date: Tue, 9 Aug 2022 22:04:58 -0500 Message-Id: <20220810030500.2793882-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This adds binding and driver for the Lenovo Yoga C630 Embedded Controller, to provide battery information and DisplayPort support. Bjorn Andersson (2): dt-bindings: power: supply: Add Lenovo Yoga C630 EC power: supply: Add Lenovo Yoga C630 EC driver .../power/supply/lenovo,yoga-c630-ec.yaml | 88 +++ drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile | 1 + drivers/power/supply/yoga-c630-ec.c | 547 ++++++++++++++++++ 4 files changed, 647 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/lenovo,yoga-c630-ec.yaml create mode 100644 drivers/power/supply/yoga-c630-ec.c -- 2.37.1