Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6478361rdb; Tue, 2 Jan 2024 03:29:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPlZmfmX+PX7p/nGHm2FnFsSM5jRMtRgtcD5r5fqmfmcw1ivTgtJq/KAL9i3Yvkc/wqxwV X-Received: by 2002:a05:6358:33a6:b0:170:c56d:3504 with SMTP id i38-20020a05635833a600b00170c56d3504mr14062841rwd.9.1704194943302; Tue, 02 Jan 2024 03:29:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704194943; cv=none; d=google.com; s=arc-20160816; b=B/HUXWaMD/2BdquTmAdsMtSTyOaM7INn8XHehp1lpiwNc7oLTGlNU7PDBX7AuIUeza MIvR6u65tzlZD6qteW5yM8EFLDddy4pY7X/xaUEjLbOESPpg2ZmYXdQMcaO6rbkiCfwH TBs44ZT3qDwvysZeMNmc/qP4UNEz+hlSN+gtYERuz3yxlhOhkQjLChDHaNGvr/dyfu1+ xT8iuVQ1nSK8o21ZKHpXKNuHFRuyCzBPX4OuiFuOPZwiUqJqgy/eNYrFayUXo6iMXiFV XhaVQeLKqdlhE4e9dxhOm2oQjBCf+q/HE3lWrRq7SsWDPcjMoq7GaSAyIg/NV0Fb4sqI BzQg== 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=OfcdSHwv/7qwzsva1aJv6GI/9exwCz42tPEHlmomtrw=; fh=ueBmHjRVA09A3FtSlcus0DauMGTzwSAKpWn3bAtSSko=; b=D7bz8YrcGWzwzoMtAN7sHq8sa0e0lU0qLo5+o91jiEJWIy9n3fFHvSocCgH/fIcipS k2u4NyR+x6ti+zUbM5Y8MGCgBZBCLYEUQDg4XTkCbBMcPyT3dBLvrcGU5dAdSV2H/xAn TwwdL3wOHJA+9khbz2ASajU/Imc19MQPCRJbpFSRWlN1tt5KZHX6dnWn+CGEvTNhDRvo e/AEweT2uKq4d1DEQCL4zZHJE8dm4K4Sa1TVNcYWgACxgD8Ilm8958ZlJulBQhY242i8 cjoSyc6KRE11Wvzosi/L2rmPQoG6jvuZRmV9h+0FSpWrdt7l88g6FstQYeDO5yIYeQGT 6loQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14289-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 4-20020a630b04000000b005ce418432f1si11203029pgl.643.2024.01.02.03.29.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 03:29:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14289-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CB5922830E8 for ; Tue, 2 Jan 2024 11:29:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10381EAC0; Tue, 2 Jan 2024 11:28:56 +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 6E0F3DF78; Tue, 2 Jan 2024 11:28:52 +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.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(636813:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jan 2024 19:28:24 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27; Tue, 2 Jan 2024 19:28:24 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1258.27 via Frontend Transport; Tue, 2 Jan 2024 19:28:24 +0800 From: To: Jonathan Cameron , Krzysztof Kozlowski , Conor Dooley CC: Lars-Peter Clausen , Rob Herring , ChiYuan Huang , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , , , Subject: [PATCH v3 0/2] RTQ6056: Add compatible for the same chip family Date: Tue, 2 Jan 2024 19:28:20 +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 Content-Type: text/plain 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 v3: - Add Reviewed-by tag in binding document patch - Resotre the enum for control field. - Put all the predefined datas/callbacks in dev_data. - Remove the unused 'rtq6059_info'. - Change 'default_conv_time' to 'default_conv_time_us'. - Move the comment for default config above the dev_data setting line. 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 | 270 ++++++++++++++++-- 2 files changed, 259 insertions(+), 20 deletions(-) base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a -- 2.34.1