Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp414844ybl; Tue, 27 Aug 2019 23:09:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJkQaRz3pZhNWDwkPtGO/eut0mcC9y1o+jidBs9hVz6IOatZY+DXAfMr94fl3iHCeFuU3C X-Received: by 2002:a17:90a:1b0d:: with SMTP id q13mr2597300pjq.102.1566972596255; Tue, 27 Aug 2019 23:09:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566972596; cv=pass; d=google.com; s=arc-20160816; b=p+JTz1LtWg9YQhY55gDTV1DkFOz5zvxOcmh+j1gnuKraFkC314lencGKPr0/Dvn4sf 5Gnoe9hXp450GPRz/fUYYjaPi3X/A3ywPOhJUE4yOY01CO2hnu7q/9ZuKvyzi7I+CkT3 BRFak2bpPqJmSIn2HjSTX/9YEgjoiWPLK5l9G/2Afnk+CSQhyrHykwybSwkDcLGEGE8h 1zbqD5MLWkAlE/rT43Gd11Uc0q6RNfgQVxqd3s2dxzR/p9AveSdzROUl0mmHrQIbdfCs CA0Dh/KktmPcWw3RLU9obqtAQh/FsC2R6ke8BVgRcv1w1sWe+rMT1jWwcwuNnHmmiF19 jZRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=g3x1Ei1hoRmrkLKmggwHyCvcPsdTYoi2Hso3r5Ta5qY=; b=fhFSCgA5IuqMZQax2yk7vHf6klQW15KsshTLT9Pwp1PHo3LXz1GwqDfij4hlbRuPMF J4xFbCcwjE1IKpM2g95Io1g+FIOrE0v5nxao6Yy51Jj7VhPXVk83IR/e229uBhRLRI8a 5I07UokUhtUs8dVpn32XARjTa61lOoLMVqFVJPp39a/wWcngGNuXhSmbEPgzxaY5ncoI +TOfL64Lisxxm8HLlNjx4E7ECn79TLVijJ+3A2/GkKlxdnVDrfkyw/4t01Gsn2y/ZcLq NaxTNLhsYvJCZ1MLFWyfSjleNkfgrn+8Mb+nWBLTwdw+t+PMJTB7KDIoOUo7r9W8rT9J mjnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=JFwcGmrb; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33si1156806pld.266.2019.08.27.23.09.40; Tue, 27 Aug 2019 23:09:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=JFwcGmrb; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726207AbfH1GIN (ORCPT + 99 others); Wed, 28 Aug 2019 02:08:13 -0400 Received: from mail-eopbgr690061.outbound.protection.outlook.com ([40.107.69.61]:33601 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726100AbfH1GIM (ORCPT ); Wed, 28 Aug 2019 02:08:12 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VPDul+JXt89w52ucKynCjghIuhJu8up42R1nOMvwLd+ZJLv6Nn08aZTx+X6lOche86bcCnRgo5p8DucoLm3NRg6/c4ajcgILXlpPG1zYMsqf8PRWlNQalDRmjpxo+IgZsrXevRcThwL2Yt3of3qDIY4VOxdWrUbf/zVCtL/Ftf8iFuNCzQga4xJJ1NxuAwaB0UaMox5DMqPilqmSJLWaq93KCnsPHjvrKhm3+ixvp/EKvZPB1RojCSVV5ytZghkcb6DM1ZFOtl2Q4jGb5i7vwXBMc3HiqbeLV/K4V5mph9NHdkeM+CgEwjrRSsnMRhGJNH7eEtKhdfJiSDdXZevJjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3x1Ei1hoRmrkLKmggwHyCvcPsdTYoi2Hso3r5Ta5qY=; b=fmG++o35cTSchb5Ggoyuem33yxx/HPR3X9rj4+1ES2drAYE2B4RfI1QYagqFbGCNfvrbtQ4/XQHWAtepw8txiIq//vsTAGkCLI65lyvzv2e3hZy9ZB22m7UHqOAm1yBLypyTFkTFI/Zh/0kmx2lrTTxOyxFSuFyVcTUKX1tHAP69j+iBEO1ZsvXZH8Za8gTONqk4qz/aAxdyPTJUi7OEtRhnZmpky0No28GjOBxscFTjcHAliiTPK9KTfZbpXD7zKjlIe/4aRjCKIPp7BGscjM+nCjbFK2tE4PIzWymfW9pUpR6nSH/Kyw0kXuBQKUfuunHpABl40MfQ1OyHwFBiKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3x1Ei1hoRmrkLKmggwHyCvcPsdTYoi2Hso3r5Ta5qY=; b=JFwcGmrbqhmO426SQTQ92iY2aJOR71IeNncTZtszWI+1fdIDmSu3DeRH3jjn13TXFsUGP+blnzvZ1hLACtX97arPZFGwTWzL3tqMP57YRnNJtNIn6XW2d0knOCYIaK0bI6UZCd0M1Nz5XDcfVroVTm0t6dFFMrnFgwOogHZr1CA= Received: from BYAPR03MB4773.namprd03.prod.outlook.com (20.179.92.152) by BYAPR03MB4487.namprd03.prod.outlook.com (20.178.49.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.20; Wed, 28 Aug 2019 06:08:09 +0000 Received: from BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::b050:60f8:d275:e9f4]) by BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::b050:60f8:d275:e9f4%7]) with mapi id 15.20.2199.021; Wed, 28 Aug 2019 06:08:09 +0000 From: Jisheng Zhang To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland CC: "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: [PATCH v2 0/8] regulator: support Silergy SY8824C/SY8824E etc. Thread-Topic: [PATCH v2 0/8] regulator: support Silergy SY8824C/SY8824E etc. Thread-Index: AQHVXWb3eqtRm470nkSmF9fkEpNwlw== Date: Wed, 28 Aug 2019 06:08:09 +0000 Message-ID: <20190828135646.52457ac3@xhacker.debian> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [124.74.246.114] x-clientproxiedby: TYAPR01CA0203.jpnprd01.prod.outlook.com (2603:1096:404:29::23) To BYAPR03MB4773.namprd03.prod.outlook.com (2603:10b6:a03:134::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64460700-2b63-42a2-bc33-08d72b7e1956 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR03MB4487; x-ms-traffictypediagnostic: BYAPR03MB4487: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 014304E855 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(136003)(366004)(376002)(39860400002)(199004)(189003)(54906003)(66066001)(50226002)(186003)(102836004)(305945005)(8936002)(7736002)(26005)(52116002)(386003)(99286004)(8676002)(3846002)(110136005)(81166006)(81156014)(6436002)(5660300002)(4744005)(66476007)(66446008)(64756008)(66556008)(476003)(6116002)(2906002)(1076003)(71190400001)(486006)(66946007)(256004)(86362001)(25786009)(4326008)(14454004)(6512007)(478600001)(6486002)(53936002)(71200400001)(6506007)(316002)(9686003)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR03MB4487;H:BYAPR03MB4773.namprd03.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 2llZFkCoxEc7pyiGl/ch4nu/UrCcX1HsvhGZ6IXZn926ktxzzKIuM2CqpZiWx0p+kZ/hXaAFTvo2rWcj0f2xydqIWKugpzXqXslcnLeymr8rFcaL7Y4OsLHQ5Ky2bldYXcHKQEOdM1c1fm9e/v9wpMzEJu6h/+WY1KftudNjDZoKPVqJL6+wLqfgZzMHP+5oXuuZqRZioLLZsxpLHw5xZfiN28c1OBoSeMsHdJRIbj8hsN01uAJA+ekHbqQNCXw98EMl7eOFfZPKfGZOfXPGT5hTSXFovfvwDMk2ud5/C1nTPwUFtcnlI0Bqkt9sXouYBqpIodY/ENCoMVhTESxfi6YR0xhHSryRk78WBkwvFR5gqGXCFNdb8pgOo+OZNU8Q7DHl2UUDGiPzviTZMPQJo/vr+fsd1+oOE5dYTXqA+u8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <60EC053632AE7C439CA40447EB6F4990@namprd03.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64460700-2b63-42a2-bc33-08d72b7e1956 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2019 06:08:09.2499 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: N1KhphWMQxn+TTqv99WmsFGZziQHGh9XgVIdtcAVjRoNhKBCqCxOorfcWa0WVUSvsEAPxM88MAGI+JkjPYP8VQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB4487 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for Silergy SY8824C/SY8824E/SY20276/SY20278 regulator. Changes since v1: - use c++ comment style for SPDX header - add prefix for BUCK_EN and MODE Jisheng Zhang (8): regulator: add binding for the SY8824C voltage regulator regulator: add support for SY8824C regulator dt-bindings: sy8824x: Document SY8824E support regulator: sy8824x: add SY8824E support dt-bindings: sy8824x: Document SY20276 support regulator: sy8824x: add SY20276 support dt-bindings: sy8824x: Document SY20278 support regulator: sy8824x: add SY20278 support .../devicetree/bindings/regulator/sy8824x.txt | 24 ++ drivers/regulator/Kconfig | 7 + drivers/regulator/Makefile | 1 + drivers/regulator/sy8824x.c | 231 ++++++++++++++++++ 4 files changed, 263 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/sy8824x.txt create mode 100644 drivers/regulator/sy8824x.c --=20 2.23.0.rc1