From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A8D0C43457 for ; Tue, 13 Oct 2020 10:34:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 284AD20870 for ; Tue, 13 Oct 2020 10:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731053AbgJMKeY (ORCPT ); Tue, 13 Oct 2020 06:34:24 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:40444 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726531AbgJMKeY (ORCPT ); Tue, 13 Oct 2020 06:34:24 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 09DAUff7010591; Tue, 13 Oct 2020 18:30:41 +0800 (GMT-8) (envelope-from billy_tsai@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 13 Oct 2020 18:32:57 +0800 From: Billy Tsai To: , , , , , , , , , , , , , , CC: Subject: [PATCH 0/3] Make driver compatible with ast2600 Date: Tue, 13 Oct 2020 18:32:42 +0800 Message-ID: <20201013103245.16723-1-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 09DAUff7010591 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ast2600 is a new generation of SoC from ASPEED. The adc device in this generation adds some changes and features. This patch series handles the changes below: 1. Define the new register fields. 2. Split into two individual IPs and each contains 8 voltage channels. 3. Remove the pre-scaler and extend the field length of the scaler. 4. Ref_voltage becomes configurable. Billy Tsai (3): iio: adc: aspeed: Orgnaize and add the define of adc iio: adc: aspeed: Make driver compatible with ast2600 iio: adc: aspeed: Setting ref_voltage in probe .../bindings/iio/adc/aspeed_adc.txt | 16 +- drivers/iio/adc/aspeed_adc.c | 168 ++++++++++++++---- 2 files changed, 148 insertions(+), 36 deletions(-) -- 2.17.1