From patchwork Wed Oct 18 12:30:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 15544 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4753844vqb; Wed, 18 Oct 2023 05:31:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6fg9ZVxc5HqofehZAwNfpBNsWUSrmXHc29sUkeIi3RqB27NAqh7jN7pVlCyA5dqaEvGgJ X-Received: by 2002:a05:6870:7d11:b0:1e9:bb3a:9a32 with SMTP id os17-20020a0568707d1100b001e9bb3a9a32mr5758010oab.0.1697632274389; Wed, 18 Oct 2023 05:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697632274; cv=none; d=google.com; s=arc-20160816; b=ezSGDERiRvd6Dae3STkD2dIC5NsMoQIyBfUXzmtzXeS8+3ecb0K07EO+U6udhiY2fv QgNm9p/VHcdhur5bEgUAghTyh9/CLRyAhufpfwqcXCl0YR9QIDVQHK1z/dbx3jlyblJ/ RDjbKo/WBRzdu/ih/QWn/wAxLNevePh/HZ9oQv7aT/k31PdBFrYO8gDrQsxZ/v96WhHG 1aFMFgJUVXcx2yaQjJMDSy800jHSnITTt42NJUZByVMw9NGKACGCwTNkzMV5NIUlSLpL VajG+KqZ4C9ldTYPrr/yZfgKote+ZGmXa9uFwWxBLGPDBYym8vFS0O71pArf90Igovwy 1p5Q== 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=XlWVy8FnYNsiroEYg/XCM/swGlknLzbUla9FpYNTLwI=; fh=q6zfOX1gmmasHvH6AMZB1ijD+1/3WSJ0fPM/Os/ZcA8=; b=flh3QM2N69nswIuodwLvvyP26+F58wbg/Ad07h2ZFpyDXhQWDpHUz6GFtWXV9k62Yo sNoN51zx+TwtWtTSMOcwe7vEGH2D/aXmGzqs2A+QyirCw6Vd0vW2gfXPpN3BY6HypwBs Lv2Cx3qza/EM5fihFxaJK99JgBCNubP/iYNQe+dQmw0GlPq18ObfJd8/VsOYAV2O98MH QIpaLm02YucRrhOfY7xkbIAw+GaVMydqZMI6o5QwWZa8V1Ezjc1pgi1yAjhQtgHGH/V4 wWgqmrdmbCzJ8I/VKev+jYpUfQ1gSJ1edGDtlP1YAufoOpp8aVt3N0Nq1kiMb+zdLqzm NjPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y7RYRxwO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x2-20020a656aa2000000b00578b21f1890si2084046pgu.294.2023.10.18.05.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 05:31:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y7RYRxwO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0A435802A36F; Wed, 18 Oct 2023 05:31:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231637AbjJRMaq (ORCPT + 23 others); Wed, 18 Oct 2023 08:30:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231416AbjJRMan (ORCPT ); Wed, 18 Oct 2023 08:30:43 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EE4698 for ; Wed, 18 Oct 2023 05:30:42 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-507a3b8b113so5507510e87.0 for ; Wed, 18 Oct 2023 05:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697632240; x=1698237040; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XlWVy8FnYNsiroEYg/XCM/swGlknLzbUla9FpYNTLwI=; b=Y7RYRxwOici1EhBopn6TTLdjT0dBp5gZH8pLzvrGZLnPCX11FKzSyo5TblpXbU29hG ZGrcHAI6mCbpygbt3cJLhTGbqyVGeKceS11Eqql2I2SSSgXhaEiJ+eHibrN26+//AjLa 5v3816xGB8uqNqSLm7XuocdwGmdiCLS3HQJshXSOaknVldNOzDQEZmSuAc/y85qR59oG INHqBC7p1nWxG9XGMiLchVvdHF1dxMwGMVq1rS7+azZ966yXGOSX9pVcqOzbSqyF5uQq f76Owr8zXAd7FVss46k65z3qKcR5U/wcSvol/TykoMQisXNud8WOj3h2u3RxThScOZ9Y 5wIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697632240; x=1698237040; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XlWVy8FnYNsiroEYg/XCM/swGlknLzbUla9FpYNTLwI=; b=XkAKiySev6aOOEp4FEJsozLS1MK5CDbmZSXOrm7N/atWiOzrMWhpGbwtRqVXqDITG4 VZze138786NkytLRanFjgP9U34M9mMPX6IH10FNcpCUVQARsZbc7kD+oFEcbieXfDEnr HxxpsjEQ+jGRBn+z6+EvlKazr1T/pqppZICHgESYPXvSzlSCgWc8rw1SM0nW69X5/RLS R90lay+pFSaAqjnZBg/P+NIUFvGwmdSVhRS3YAXpTkPcY4NniHDsYSoEA4AE297DaQIw pgqMapvwTek4nhewSVSy57r7AFSL58mw60vLQUmmG+z0ORGFV3uIQ1C7xfd5+MTXd06f kKjQ== X-Gm-Message-State: AOJu0Yz5px1MYjP9uTBdkxXQJ01Z/bmRC2TfLO4uRsWajhr9oMO1eoZZ Q31GvYy2pEm9AZNSemBcUufGXEra+4Q= X-Received: by 2002:ac2:4141:0:b0:507:a766:ad29 with SMTP id c1-20020ac24141000000b00507a766ad29mr3896962lfi.12.1697632239570; Wed, 18 Oct 2023 05:30:39 -0700 (PDT) Received: from debian.localdomain (mm-47-218-122-178.mgts.dynamic.pppoe.byfly.by. [178.122.218.47]) by smtp.googlemail.com with ESMTPSA id t8-20020ac243a8000000b005009b4d5c14sm679565lfl.265.2023.10.18.05.30.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 05:30:39 -0700 (PDT) From: Dzmitry Sankouski To: linux-kernel@vger.kernel.org Cc: Dzmitry Sankouski Subject: [PATCH 0/6] This is continued work on Samsung S9(SM-9600) starqltechn Date: Wed, 18 Oct 2023 15:30:27 +0300 Message-Id: <20231018123033.301005-1-dsankouski@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SORBS_WEB, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 05:31:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780096459713938006 X-GMAIL-MSGID: 1780096459713938006 - Samsung s2dos05 pmic driver added - touchscreen support - usb 2.0 support - some cleanup Dzmitry Sankouski (6): dt-bindings: regulator: add Samsung s2dos05 pmic regulator: s2dos05: add Samsung s2dos05 driver arm64: dts: qcom: starqltechn: remove wifi arm64: dts: qcom: starqltechn: enable more features arm64: dts: qcom: starqltechn: disable crypto arm64: dts: qcom: starqltechn: add supply to framebuffer .../bindings/regulator/samsung,s2dos05.yaml | 89 +++ .../dts/qcom/sdm845-samsung-starqltechn.dts | 205 +++++- drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/s2dos05.c | 601 ++++++++++++++++++ include/linux/regulator/s2dos05.h | 173 +++++ 6 files changed, 1067 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2dos05.yaml create mode 100644 drivers/regulator/s2dos05.c create mode 100644 include/linux/regulator/s2dos05.h