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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD599C433FE for ; Mon, 21 Feb 2022 10:45:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355321AbiBUKp1 (ORCPT ); Mon, 21 Feb 2022 05:45:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355326AbiBUKpC (ORCPT ); Mon, 21 Feb 2022 05:45:02 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7523532C1 for ; Mon, 21 Feb 2022 02:05:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645437944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tEs3c0lwLFu5MFr8oPqlqgpJ1951J6bY0iE9T4+v1Lg=; b=hV70KaGjZUR0cm0r4/rSF23GQQl1M4ymqoeWPH59+u19QLEC3Bmo3TrYtXoDYLiepwlsTl Apu8W29524J6779KiVcVmFADMNRKz10Ys3ahEdB//u/Y9UwmuBZJ92PqvG/E2r9CdCFkWD 9LKpNLbXm6gtziYzXrh1BND64/JOOjU= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-589-wG7RbE_7O9SHjAHF-XgnrQ-1; Mon, 21 Feb 2022 05:05:42 -0500 X-MC-Unique: wG7RbE_7O9SHjAHF-XgnrQ-1 Received: by mail-ed1-f71.google.com with SMTP id y13-20020aa7c24d000000b00411925b7829so9702793edo.22 for ; Mon, 21 Feb 2022 02:05:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tEs3c0lwLFu5MFr8oPqlqgpJ1951J6bY0iE9T4+v1Lg=; b=e7XNdTADJx/m8E6rIxACLHK4FqyJblx/p9yIFg8hUp8/69t+Z/tmhNbe6eaezrAwGh mx7ok1+OIa+IonYgXs3cWoWXK+fr71MRDYggYD2HHR5AtmvElThfz4cxa+Ib4JCLdTw/ fXXaNONVh6nncyl3NMx9W2jYLlQR/BPZAG/d9bSjTt6D8NJSXtNNBGqdJJpVNoVGw1GN JdTasjESxVTMagcRAE5DQUbCLG0DkB0DUkCz2xecYm421jt3AADpSCKWh96WsYDLaO4C 3TI82L1A3pDv3f2+SNBkX9pSOwClUXAC+6ZLslQEdHJFi5nwkr5gwt67dVCFYmiMuh9E i5Sw== X-Gm-Message-State: AOAM5324A6L2Ygi7ni291phZLxUyuyTAstNPyUidmEMrD3GAS/rxEaE6 8tZn1+94a9ZQumFEW47xYNw/NUSfqVpgJAbCKihTU6Pjv0cQOQwlKpbha6PHcJ82Y9jNY4OF52I d7eQP+CKoKN8nl6d2ODyy X-Received: by 2002:a50:9e2e:0:b0:410:d1b6:4d2e with SMTP id z43-20020a509e2e000000b00410d1b64d2emr20315134ede.201.1645437941699; Mon, 21 Feb 2022 02:05:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOVCVc23b9yOF+lrwf8TO4v3PegH4KxxSFCMMQ5Gb72ss+1TpWKLq+7F9UVnnV5KpMFPxcMg== X-Received: by 2002:a50:9e2e:0:b0:410:d1b6:4d2e with SMTP id z43-20020a509e2e000000b00410d1b64d2emr20315116ede.201.1645437941501; Mon, 21 Feb 2022 02:05:41 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id dx7sm4271560ejb.23.2022.02.21.02.05.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 02:05:41 -0800 (PST) Message-ID: <9aae2f06-1f3d-2dca-95c3-77f399e7b199@redhat.com> Date: Mon, 21 Feb 2022 11:05:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 6/6] platform/x86: int3472: Add board data for Surface Go2 IR camera Content-Language: en-US To: Daniel Scally , linux-acpi@vger.kernel.org, linux-clk@vger.kernel.org, platform-driver-x86@vger.kernel.org Cc: rafael@kernel.org, lenb@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, markgross@kernel.org, robert.moore@intel.com References: <20220216225304.53911-1-djrscally@gmail.com> <20220216225304.53911-7-djrscally@gmail.com> From: Hans de Goede In-Reply-To: <20220216225304.53911-7-djrscally@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hi, On 2/16/22 23:53, Daniel Scally wrote: > Add the board data describing the regulators for the Microsoft > Surface Go line's IR camera. > > Signed-off-by: Daniel Scally Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > .../x86/intel/int3472/tps68470_board_data.c | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/drivers/platform/x86/intel/int3472/tps68470_board_data.c b/drivers/platform/x86/intel/int3472/tps68470_board_data.c > index 442a8a2de224..49a3591c6d85 100644 > --- a/drivers/platform/x86/intel/int3472/tps68470_board_data.c > +++ b/drivers/platform/x86/intel/int3472/tps68470_board_data.c > @@ -30,6 +30,15 @@ static struct regulator_consumer_supply int347a_vcm_consumer_supplies[] = { > static struct regulator_consumer_supply int347a_vsio_consumer_supplies[] = { > REGULATOR_SUPPLY("dovdd", "i2c-INT347A:00"), > REGULATOR_SUPPLY("vsio", "i2c-INT347A:00-VCM"), > + REGULATOR_SUPPLY("vddd", "i2c-INT347E:00"), > +}; > + > +static struct regulator_consumer_supply int347a_aux1_consumer_supplies[] = { > + REGULATOR_SUPPLY("vdda", "i2c-INT347E:00"), > +}; > + > +static struct regulator_consumer_supply int347a_aux2_consumer_supplies[] = { > + REGULATOR_SUPPLY("vdddo", "i2c-INT347E:00"), > }; > > static const struct regulator_init_data surface_go_tps68470_core_reg_init_data = { > @@ -86,6 +95,28 @@ static const struct regulator_init_data surface_go_tps68470_vsio_reg_init_data = > .consumer_supplies = int347a_vsio_consumer_supplies, > }; > > +static const struct regulator_init_data surface_go_tps68470_aux1_reg_init_data = { > + .constraints = { > + .min_uV = 2815200, > + .max_uV = 2815200, > + .apply_uV = 1, > + .valid_ops_mask = REGULATOR_CHANGE_STATUS, > + }, > + .num_consumer_supplies = ARRAY_SIZE(int347a_aux1_consumer_supplies), > + .consumer_supplies = int347a_aux1_consumer_supplies, > +}; > + > +static const struct regulator_init_data surface_go_tps68470_aux2_reg_init_data = { > + .constraints = { > + .min_uV = 1800600, > + .max_uV = 1800600, > + .apply_uV = 1, > + .valid_ops_mask = REGULATOR_CHANGE_STATUS, > + }, > + .num_consumer_supplies = ARRAY_SIZE(int347a_aux2_consumer_supplies), > + .consumer_supplies = int347a_aux2_consumer_supplies, > +}; > + > static const struct tps68470_regulator_platform_data surface_go_tps68470_pdata = { > .reg_init_data = { > [TPS68470_CORE] = &surface_go_tps68470_core_reg_init_data, > @@ -93,6 +124,8 @@ static const struct tps68470_regulator_platform_data surface_go_tps68470_pdata = > [TPS68470_VCM] = &surface_go_tps68470_vcm_reg_init_data, > [TPS68470_VIO] = &surface_go_tps68470_vio_reg_init_data, > [TPS68470_VSIO] = &surface_go_tps68470_vsio_reg_init_data, > + [TPS68470_AUX1] = &surface_go_tps68470_aux1_reg_init_data, > + [TPS68470_AUX2] = &surface_go_tps68470_aux2_reg_init_data, > }, > }; >