Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1315662ybt; Thu, 2 Jul 2020 02:19:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw54SYbhpEHXueOiUZdPx/8ZdS/2qPBjo450q/ABQLRySm2CS4Aoocso7ENCHF35u0lSaY/ X-Received: by 2002:a50:d942:: with SMTP id u2mr32972640edj.225.1593681560120; Thu, 02 Jul 2020 02:19:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1593681560; cv=pass; d=google.com; s=arc-20160816; b=X9zalgcVZt3tV+Eo6/f4UKPTo8Extbo9GKaa98O+6A5n1WkXbAk6bgKMrpyiKpOTuR 4/SqpjbPCOigy4UfRvF0CTFFOXqbsUBkmKeapLml/trWA4ueFo7afGR6BQciHZm7arY6 rx23Be/+T4nQvHriBj1S2Uo36S79ahX3A07mLUYtQIxpD364lxw+xZL+BWj6+TTRQc86 ZBe8j3aWjbld2WHRQTqRmrc63tYMAVDcGAGuHWjFX7BLsjx0jZLQBnZKwtKXyQPpf9rH R2BdGcEuAOdmUM8Hri1EN1U+67ndB0LpiSbr0cnL50m3H364UwzQA1B0h0A6xmPhdKRM /dsA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wV89JFu9rUPiJGobhvq4B5ArQDzjFsQmakH2OqRbPxA=; b=YnSG7IUNlwElg+QFuxRuwwIUcTz8ILw26VjaalOpBShYZS5vRf1RxNAjdHNZr18apz GJx4T4Kn537d7hiS6MbaLtPCELzZzmxwFpuD4ii0x6nV56qEbINKJWu34Y8BgwRXwD4a 63kgWc/oD0YdaDa/8mOrFBzB+4295g3Bv2LbX2zxiSVDN2yrcH3d6mDlkqQe721+BYGW bDNKHYl31PoyPt7HMSz/EubefBGSBoLetj8AYKd4gGWUDE7pH+yIJEib7568x5ivLEQ/ C5mtXU2+YgUkGCd9RBqaCKTTdJNyALSIkt7284J1leQr/asiVDRR4HmTCOEecY8Oj8wz 54bw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=URGnyEZH; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si5596773ejr.577.2020.07.02.02.18.57; Thu, 02 Jul 2020 02:19:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=URGnyEZH; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbgGBJPi (ORCPT + 99 others); Thu, 2 Jul 2020 05:15:38 -0400 Received: from mail-dm6nam10on2088.outbound.protection.outlook.com ([40.107.93.88]:14619 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728187AbgGBJPh (ORCPT ); Thu, 2 Jul 2020 05:15:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAFJMdCFCXnnWY9YtPX04tiq0hfJxQ2wtrnez935U5OOyXof/6FrjvcdwDkk7s3K2CrLzvDKQtjcEtLs7XR7NUnEZ/U3zdcK9AxnRY33OFQKJkFPiKuUOXjC4wEoPWxh3VFMVj1BShnzlIXOS3+xd3YwGuldQmRvcoIJ4SfvGHDviK1D3XPVE2oCSQ2aL4hpTLQJ0sX9DpazHpsoWi3SClg6YsbNND5+oC0DO9lvLOep+RwgLH/9tIlo884Dtdk94Qf3h9w9omrmKx08cX0cYRWb4rQ8E3sULf2Jk09rmnsq1f6GiGeDdAGT1bT9z08SVeTo2wgvUvTsm3g/LkRaFw== 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=wV89JFu9rUPiJGobhvq4B5ArQDzjFsQmakH2OqRbPxA=; b=hhR/kDV7Q3tkHXnxngwF9B+DyWNEp9rg+saT7mk5PJERFyWm+KNnZgSLWsE3MVHAt0BQliQeH967QCqkumgVOo5X+tFXB8vAwFckeKIHmEjCh9owQInqN8dd7VfVTnG2Koo/eX9vJfeP3FW8Yc7u+V8pi1Fnf4nGusFacNLNsc7L5qsCwuwoU2N+c876uKgvENkhYj7gVKuZa5DuZcr49C4PWBUy+oymWVcAwHVYPp0wX+u6RlojT2nagbaKM4gNMrrY4+2StOLmDsBV7gQff8HXkThg6N+5rgCkO1qUcEJUr1i2Pb7txfw6qW/voLR64D3VC3sI7dlmezS5Cuq9/A== 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=wV89JFu9rUPiJGobhvq4B5ArQDzjFsQmakH2OqRbPxA=; b=URGnyEZHFHdPfIkgr7k3Pl2uYsU2mHixDnXB9cw66AEZFZmTSHpEFQdANCuWaL4yMgxOxNgDyk0IpwHRsSTg2lMSbCOxcH1v9FA77qZseRas2Nxtz1vFkesbPWWgznbyuallcw0+utEvGlzaOgn6OVO542d2MW6T6VLlfQi7g50= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=synaptics.com; Received: from BYAPR03MB3573.namprd03.prod.outlook.com (2603:10b6:a02:ae::15) by BYAPR03MB3574.namprd03.prod.outlook.com (2603:10b6:a02:aa::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.21; Thu, 2 Jul 2020 09:15:34 +0000 Received: from BYAPR03MB3573.namprd03.prod.outlook.com ([fe80::d1ae:8ea7:ea:8998]) by BYAPR03MB3573.namprd03.prod.outlook.com ([fe80::d1ae:8ea7:ea:8998%7]) with mapi id 15.20.3153.022; Thu, 2 Jul 2020 09:15:34 +0000 Date: Thu, 2 Jul 2020 17:13:35 +0800 From: Jisheng Zhang To: Liam Girdwood , Mark Brown , Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: regulator: add document bindings for sy8827n Message-ID: <20200702171335.59f5e79b@xhacker.debian> In-Reply-To: <20200702171304.68928e88@xhacker.debian> References: <20200702171304.68928e88@xhacker.debian> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ClientProxiedBy: HK2PR02CA0144.apcprd02.prod.outlook.com (2603:1096:202:16::28) To BYAPR03MB3573.namprd03.prod.outlook.com (2603:10b6:a02:ae::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xhacker.debian (124.74.246.114) by HK2PR02CA0144.apcprd02.prod.outlook.com (2603:1096:202:16::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.23 via Frontend Transport; Thu, 2 Jul 2020 09:15:32 +0000 X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-Originating-IP: [124.74.246.114] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 352ae42d-c7e5-4066-2cf6-08d81e6879d9 X-MS-TrafficTypeDiagnostic: BYAPR03MB3574: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-Forefront-PRVS: 0452022BE1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yFyvO+n7p3innBrHw1KfXNR++ytTtp/IzNBuxlcTqir+rUu0fgamblZWatmZZQ5pRlv3lpjmKpN4UVuWteu2xfPZFzLHKpCMLa/x2bBm2DKv19PYxG9H/ji8grzk6i7W+49GxvRs3/mWTaQ8J/66alwhLme3Ji6odhmMtxo3NKtJoi/V1BXlNi6JzCjA8U5k8asqBqUOVKHmkfQi+t3BVUSYYZuv5jTMhIsXZUalOe1b2RqdV5Tp8KzYqAJgR2t6Pp7zWQTcmxfq6NkCu52+DPchZIKHRMDBeD5Q7a4M3wkhjr5dcezYllPayYKzi3Ifr3AsjaX/JnmHiXNIXwsgXMibucwNRu8pg8SUGV3465xw13sXLMBI4xDgkuweWjPJzfUoR7G/HKmr6NB0bEMWwg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR03MB3573.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(366004)(376002)(396003)(39850400004)(346002)(136003)(956004)(478600001)(2906002)(66476007)(66556008)(66946007)(8676002)(8936002)(9686003)(4326008)(55016002)(16526019)(26005)(966005)(186003)(316002)(110136005)(86362001)(7696005)(1076003)(52116002)(6506007)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 4QoJM+xHtgkRpW/n8wfBARu+owos3C8IkMStJkRiBFOAN7yuUreGChTbGdbbqr9idz7v1iWzZdg8psJw0z3sCJ/LSBWsYwmQbPOaJLjJADX4M/yhpkRzD64Kva9nM8ofHZozGiwRP5bMmFhk61kt/mXDe283cZ3P6/l96SC1sdxMAP2OwDdchk7aooFv+9AlfEZorvrD8mlazFs5CehntjYDe2aYnprZK3UrtCnHX8KDfEuNiw1S6hg1vEpzg99t1PfID/kox3qtZ6EcSlDx8Bq0BtssVgcM0lIkhwYZnvOoU4R9MoXN+U/WRSOOM5qYRO8IbQzAuBFlOngk5UHtfUC+s05jdvof9gmmmjmtJTtp31h1jzkZ/6xDp1p9lVmHlIGYbaK8Ftewib/86tQj+aO+2yTTLMOiedx5xNnDxUwdbjG/vPjgDM8LISMXTDQZOw26NqCHVJnuMaTRKsmQgpjlKoJoDzmJ48h1+C2Y1EYYq+cs2rFn5W2djb1xJxAD X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 352ae42d-c7e5-4066-2cf6-08d81e6879d9 X-MS-Exchange-CrossTenant-AuthSource: BYAPR03MB3573.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2020 09:15:34.5261 (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: Z3ox3VFBkTz1mTC1LYK5z5vzAYlqPlt/wG21GSzJ6yG0wJRf74cxxYVeeDbRJ4+hy4f60mY+pQwMhSoxMdFBbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB3574 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding information for sy8827n regulator driver. Signed-off-by: Jisheng Zhang --- .../bindings/regulator/silergy,sy8827n.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml diff --git a/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml new file mode 100644 index 000000000000..15983cdc7c28 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy8827n PMIC + +maintainers: + - Jisheng Zhang + +properties: + compatible: + enum: + - silergy,sy8827n + + reg: + maxItems: 1 + + enable-gpios: + description: GPIO to enable/disable the regulator. + maxItems: 1 + + silergy,vsel-state-high: + type: boolean + description: + Indicates if the VSEL pin is set to high. + If this property is missing, assume the VSEL pin is set to low. + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@60 { + compatible = "silergy,sy8827n"; + reg = <0x60>; + }; + }; + +... -- 2.27.0