From patchwork Thu Dec 28 11:29:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 18582 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1933469dyb; Thu, 28 Dec 2023 03:30:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4zA9AhWjlYOB7Y0AyVHnXHp4rR14sj3QXeuUrB/hwHHVfVVdi6tU6Vpzj/b6Y9fDuaqMn X-Received: by 2002:a05:620a:1727:b0:77f:917d:a6cf with SMTP id az39-20020a05620a172700b0077f917da6cfmr13325066qkb.113.1703763043051; Thu, 28 Dec 2023 03:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703763043; cv=none; d=google.com; s=arc-20160816; b=A9jUEvAMdIXFt+/Z8ldB+MP4hu6umYPM95RzJKFVpjvMBIJv8ESk97NQKZU5bMMgBZ mKSL3p+fjFMwf0mPEuPssVhSALCit4D6MQA70uFfic9EGz1a3seplAgyiPnGvTA3hR9a PdlNC0LqaI3ItkEHxGC6MmOrX6NCAbh2gPs+O4EoxdqZgLEJo6ySm2XPbKkfDn1WlFg3 rNYkASnrAleNHCdxUVLtWriET18u+Xb2x4NUuE6ZzzknocXvlTvrRxG7RqBTAau2rOuT N6p2YIMdL4Ri70+adcoyZKtWTwQlLd6jL0dzWFNSgmc52Hsx0191lO2Dw4n+jjBtHhLo 5mJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from; bh=icKzvuisPw6AtTKR76NmxtzXb6roOm+8WFjqO7SDHqk=; fh=ueBmHjRVA09A3FtSlcus0DauMGTzwSAKpWn3bAtSSko=; b=p1FR6sOukaIPv4C+NTEeA8JrNeG6Hu3qgPc70Oah3zSmxRPlhz44tGJbDnK0kPByUK ldohxo0T06yOrhVUY+ChT/ffPPbu0afgHy+6JvM+fNQUHrR8vMqczo8K+Dcf/RBCagkq GZBVUqxykwGQmFgHGT4Dq8H8Zt42QFnJTNDXq4bw+ph83v1e9fZTJopzAvLNID2GS8oE Fvq60u7zto4t+CdQac//HZmRpXh+H/bsUHfP9R28Is59fRPUBI1VUqvJbf8h0uN3Tuyf YbMZxpbWVvv8vqBGVB6u7mhiLAOtSb6UOlj0L6fTFmzCby1Y7nmXTFW9PKl359x4jZTt wu/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12606-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bp7-20020a05620a458700b007811c528f8esi17023084qkb.287.2023.12.28.03.30.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 03:30:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12606-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D5C731C22B53 for ; Thu, 28 Dec 2023 11:30:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 101FA79F5; Thu, 28 Dec 2023 11:30:11 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F45C6FBE; Thu, 28 Dec 2023 11:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(636797:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 28 Dec 2023 19:29:36 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27; Thu, 28 Dec 2023 19:29:36 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1258.27 via Frontend Transport; Thu, 28 Dec 2023 19:29:36 +0800 From: To: Jonathan Cameron , Krzysztof Kozlowski , Conor Dooley CC: Lars-Peter Clausen , Rob Herring , ChiYuan Huang , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , , , Subject: [PATCH v2 0/2] RTQ6056: Add compatible for the same chip family Date: Thu, 28 Dec 2023 19:29:33 +0800 Message-ID: X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786496186256564124 X-GMAIL-MSGID: 1786525036621986109 From: ChiYuan Huang RTQ6053 and RTQ6059 are the same RTQ6056 family. The differences are listed below - RTQ6053 Only change chip package type - RTQ6059 1. Enlarge the shunt voltage sensing range 2. Shrink the pinout for VBUS sense pin 3. Due to 1, the scale value is also changed Since v2: - Refine the description of 'compatible' property ChiYuan Huang (2): dt-bindings: iio: adc: rtq6056: add support for the whole RTQ6056 family iio: adc: rtq6056: Add support for the whole RTQ6056 family .../bindings/iio/adc/richtek,rtq6056.yaml | 9 +- drivers/iio/adc/rtq6056.c | 264 +++++++++++++++++- 2 files changed, 258 insertions(+), 15 deletions(-)