From patchwork Mon Oct 30 08:43:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hermes Zhang X-Patchwork-Id: 159683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2111091vqb; Mon, 30 Oct 2023 03:40:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHN+6gEe0cXXu3vb7cy23Q7fjKq4ChMwMeaMBLTrX50wUaxsjt2UKZF/9Jd8NIRDZZ/AOuE X-Received: by 2002:a05:6870:1294:b0:1bf:e1e9:a320 with SMTP id 20-20020a056870129400b001bfe1e9a320mr9974793oal.13.1698662445316; Mon, 30 Oct 2023 03:40:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698662445; cv=pass; d=google.com; s=arc-20160816; b=AJ/+ymAB1JvmKPmRA7uvAV6tezPIas3+rT/0RowS+CMDRr38Cm1CCCub+NVr5nhXxF wkHtRJkwnGb06RhfN8scOsnHwWZ1Gp8J4Ma9G8qnBjh0FryvA4WdER2ROVAxRw1H/A8z QWIPbpvs9K1GKtJnth0Ihc/5cok3yQo4lsCTdSAzNS9CrmAlimWw3jJAGKuwoHBR8gZf qZanSQXxTBt+6iWuPTc2shLLl9GXW0MeKyQjr66lk32E8OuzOz7cJ1dUCrq9egGnoh5U RPrySvpL25lk1m1VonSp5+9o2dO4uXHwbgT+Ro5ujwsKl54HuAyV1RN0Mnj20gk2b02G XA4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OVKbeDd3kHAWW6CxBaIX5LutoVamKWWoJJirVxGOTDI=; fh=2OOgZjfxKCiXZghInTVW03m8rGykpu2/rWaX7JI1oXI=; b=r//S4aFih+EhhwcW3VOceW8nmgn4uFneD8dwCEsDgQj6+3LF4xIkEtBOp6nDmXjBfU 74aOz4aH+oOmDRhSQ3Kxyo4fJ93iGj/zHZ97oo20YhHPXzcE+t9DGmrhCdDFPqhLBo1J 2TRxmlu27Ak91iHCU9l6xIZkMquJJ+f5iqndFv87WjU0XycQjfQboL6hWFXhqyimwzK/ 5krTE/ZO4sMVodM43AFXVy5lEzsGAPpdH0jfjd1DfrqyjPv3k6+TYp2CtrHNEdfR1l7F AmtiKve4cWtuc9jWyDsHjmvOUo9hLjvkXrgJeZNjw/gGKyq6JIJcsduMk2fRomNw6SUd /uCQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@axis.com header.s=selector1 header.b=EnqnXpAD; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id z3-20020a633303000000b005b86142ee56si4674808pgz.277.2023.10.30.03.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:40:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@axis.com header.s=selector1 header.b=EnqnXpAD; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B55FD807C656; Mon, 30 Oct 2023 01:45:24 -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 S232073AbjJ3IpQ (ORCPT + 31 others); Mon, 30 Oct 2023 04:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjJ3IpO (ORCPT ); Mon, 30 Oct 2023 04:45:14 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2060.outbound.protection.outlook.com [40.107.22.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A101AB; Mon, 30 Oct 2023 01:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OKz0ycI3L/pXpIa/scoujBN00CGo87i4vf4LDdkW6NISQN7VxtM9gVC2R9bPzB1oXFwjozwljNtnzP560RblNA3jhKClaAocEuEr2inVwTAuX3q53bu+1mEvcNFaCTFRiI0C7V54VlA+TcTcctm9Kkx5MvfFSnDbr0TZju7AdoV8ZRG5YKkKkARtMULHNY9zKBMOB8YLy18a8VRTd95nSWXgLcvq6qrE4ZoKznCWMi1k2jfRBD81BQzuIZ4hm88HemvPB8PQzW3w62UUIloyN8kpXkGjBthx+05ioDPu5mWY7Eoh2SwEuXLbrjfUSxVoComAIkjmUAh4jmHl+39lZg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OVKbeDd3kHAWW6CxBaIX5LutoVamKWWoJJirVxGOTDI=; b=auLZt+0kxlnrgrQhmn/y/p8dAfpzu38fxFuW6aq/dmSYrmo1e+3YpAl3UifuK+iOSbm9kRk8BGGdwHDnGT5HkFVQxA9wMwZjwMXcT2oeqacU24nchr2DcKDqSYSpzkJCLeqpvxfCRDkSE/q5fMpa18zSUr6bopnvRWIl2d1t5FofNCRB22rQMxyocBarfpOvxnCTTiZC6av/eFh6ulLUiOPRZTuguZga/GhDNm4S8YeptfCvTiN09eStrDygzYixscTrXOFqDbaCJsH93G6cXlx0HXOJmBY18yq3W+Mod2YODgHoZvLPpW/XzEukiGB2+F7K1100fvVAeZYg+Efsxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=kernel.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OVKbeDd3kHAWW6CxBaIX5LutoVamKWWoJJirVxGOTDI=; b=EnqnXpADfHpM7Jz1V2hT86WIK1VGxf4wj4hJTQXIn5COhw7NSm9oHqVQCHpZl9YbIl1cHLjZuMqbqeNRKjIJSIla8LrOlWqYSzhXcM7GRRhDgVVYLTAWp5KlQl+rmXSajkDC1Fc7NOZPI1wqWzIXivc3+YZRux3Y08Tv6YAtnVI= Received: from DU6P191CA0070.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53e::18) by PAVPR02MB10012.eurprd02.prod.outlook.com (2603:10a6:102:31f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.23; Mon, 30 Oct 2023 08:45:10 +0000 Received: from DU6PEPF00009527.eurprd02.prod.outlook.com (2603:10a6:10:53e:cafe::e9) by DU6P191CA0070.outlook.office365.com (2603:10a6:10:53e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28 via Frontend Transport; Mon, 30 Oct 2023 08:45:10 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by DU6PEPF00009527.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6933.15 via Frontend Transport; Mon, 30 Oct 2023 08:45:09 +0000 Received: from SE-MAIL21W.axis.com (10.20.40.16) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 30 Oct 2023 09:45:09 +0100 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAIL21W.axis.com (10.20.40.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 30 Oct 2023 09:45:08 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Mon, 30 Oct 2023 09:45:08 +0100 Received: from lnxchenhuiz2.sh.cn.axis.com (lnxchenhuiz2.sh.cn.axis.com [192.168.77.59]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 4F57321A7; Mon, 30 Oct 2023 09:45:06 +0100 (CET) Received: from lnxchenhuiz2.sh.cn.axis.com (localhost [127.0.0.1]) by lnxchenhuiz2.sh.cn.axis.com (8.17.1.9/8.17.1.9/Debian-2) with ESMTP id 39U8h528593906; Mon, 30 Oct 2023 16:43:05 +0800 Received: (from chenhuiz@localhost) by lnxchenhuiz2.sh.cn.axis.com (8.17.1.9/8.17.1.9/Submit) id 39U8h5RZ593905; Mon, 30 Oct 2023 16:43:05 +0800 From: Hermes Zhang To: , , , Conor Dooley CC: , , Hermes Zhang , Conor Dooley , , Subject: [PATCH v2 1/2] dt-bindings: power: supply: bq24190: Add BQ24296 compatible Date: Mon, 30 Oct 2023 16:43:01 +0800 Message-ID: <20231030084302.593864-2-Hermes.Zhang@axis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231030084302.593864-1-Hermes.Zhang@axis.com> References: <20231030084302.593864-1-Hermes.Zhang@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU6PEPF00009527:EE_|PAVPR02MB10012:EE_ X-MS-Office365-Filtering-Correlation-Id: aabb93c2-0dff-4165-3e15-08dbd9248663 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LTb0nhXmJVcSrphYASc8lti4NQGGcpcN0XxNQVEnAXR8kDVmokq6ZpCxpR9h2M8XI0PnIuZ4hU5OuPOZMYWm3XtdZJkjAOdkO1rxkTPBhFJUmtgW/AtIOZEE761Tte4zy9SqKiz1LqUe59r6FJCZKHQ34lr5nuz1sk3gBnsZXxdV1iD91yBGm+pZ/DMlIElwV8fDjWofeT5SHRwoiUYKaqyXllcqvbeTXbztQOf466dOMcWVFPfPSsTbSaf9+GXI57j1A5Hkf0dqaGQKMAGveD063XdvLjjiGc+X3b5PKovI9Ot9fLYktKtqvKVT+JdI2qdDxHH2Hk6e64n754UsUTris6cPFLyVURgqGTcMI0pOv8vPyvqlpzZvo5jvm7TOZvcGIT1ufDvsenH+LkQJ1qBQNk2SzS8fl7JdXbmoaVn5ak3OowlxOQcjYDix1BfweQxIlIKl7pU5up0en0c0RE3cYf3X6fw4Ah7ZD0tfqbK1PDLhZz+lkZo+SswBLNKmJF2aT5oTWOnUlQJcUy1c44DOVGyVtQb9XMv4h5Ck6t0xZ9zJQm4fupVBZMYbswPsdn00iO8BUKXL6wK4nHKu8m0b9G/fMA0j2ofEhfC7m0wHyFIX3kR59BDFEwbm5wQD5pPgKl0SYt6CXFh91rCkZLL8Aj4nDZylMpMLuNEsTcvvaZdt0qb3dkml5+WrJD/H45qhbKJrFxaNg7Ld4pw2PDB78UES+wDKL0JZUi3HVmGyNxR0DQ3+bVIqt6hgrnIjez4PxBYtNxfRngLjdPP1wQ== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(136003)(396003)(376002)(346002)(39860400002)(230922051799003)(451199024)(186009)(64100799003)(82310400011)(1800799009)(36840700001)(40470700004)(46966006)(40460700003)(110136005)(316002)(70206006)(70586007)(54906003)(86362001)(36756003)(426003)(336012)(1076003)(26005)(2616005)(478600001)(83380400001)(356005)(82740400003)(6666004)(81166007)(47076005)(36860700001)(40480700001)(42186006)(2906002)(4326008)(8936002)(5660300002)(41300700001)(8676002)(4744005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2023 08:45:09.8976 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aabb93c2-0dff-4165-3e15-08dbd9248663 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: DU6PEPF00009527.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR02MB10012 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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]); Mon, 30 Oct 2023 01:45:24 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781176672516687856 X-GMAIL-MSGID: 1781176672516687856 From: Hermes Zhang The BQ24296 is most similar to the BQ24196, but the: 1. OTG config is split from CHG config (REG01) 2. ICHG (Fast Charge Current limit) range is smaller (<=3008mA) 3. NTC fault is simplified to 2 bits Signed-off-by: Hermes Zhang Acked-by: Conor Dooley --- Notes: v2: restructured the code to support bq24296 and add Acked-by tag from Conor Documentation/devicetree/bindings/power/supply/bq24190.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml b/Documentation/devicetree/bindings/power/supply/bq24190.yaml index d3ebc9de8c0b..131b7e57d22f 100644 --- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml @@ -20,6 +20,7 @@ properties: - ti,bq24192 - ti,bq24192i - ti,bq24196 + - ti,bq24296 reg: maxItems: 1