Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3715256rwb; Sun, 9 Oct 2022 09:44:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7PCYtIWslMFP0yE321xdI6QoAQKT33QTCN1qhXXaYVOpbYGlkMyDbuW+gJ6tIkuHxTKvv5 X-Received: by 2002:a17:906:4fd1:b0:787:434f:d755 with SMTP id i17-20020a1709064fd100b00787434fd755mr11334989ejw.356.1665333888727; Sun, 09 Oct 2022 09:44:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665333888; cv=pass; d=google.com; s=arc-20160816; b=ut3dl+/m/70dl4NJBhEqkH1ZVnOj7F4EoDWEj6h/lg0tZKfz0KInLz1MqdMWiHhbOz WBzbQTX0+PNxRRw434ApsSKIcRfOKSIxEr2qZCZgdQlGTwVALs5Edb+flK7Q76q9rDgk 4Gug1q1DQ7/imNO5rwfZdlW7LBJwDWyxIp28Q0W9qlVh0XqEsmdiBELdU/+ThZzN2uxy 4qEIREyBoL0mbTB5kxG9avbM1J6HcJ+1kMBobDDeWqVs9v2e9Y860W5RerCYOI+Po7oB FcEcaJfEgHIjKcMVLPtkITrcWkpwbX8Sn989ObCNN8CGMg/ZDi5i+lBNhQwSdhbR+6Us Ehkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=EGyqdhohxIU5ZAEeFtb0baIy/igo59NpNsfnfLCK8HI=; b=RBfNFWbE1cIBhY22y34jNjwxhrcF0a5EmmOynm8dBtyK/ib5e6TLli2K54ZYEHsJAe XQXhNGTAPn2fJQvF3tlNJyZgf+3aVu4aQldQau1g3phUY13qEhXFfoQTpD1IeWsSFZiG ZBogaSL2ZUW47K9fGy2UsAjEH+bDTUrjAy+29zMowvryslROWemVMAPuTlsAYJS8zUIO W3g0Irf3kRZCqxAPKjpifKo+ihfW5aQAEluCfmUuNmZ86T8RbGS6+xskWAeTMR72TNhQ f1bk6TCpFg4LVOAllFN6daw1zvrGLG5jYXxV81pJzi5PtSKttUhKolRtXr0UJ0u/6mGj rgrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector2 header.b=CZ8lSFNx; arc=pass (i=1 spf=pass spfdomain=axentia.se dkim=pass dkdomain=axentia.se dmarc=pass fromdomain=axentia.se); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jr13-20020a170906a98d00b00741c0bd7057si5059020ejb.970.2022.10.09.09.44.21; Sun, 09 Oct 2022 09:44:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@axentia.se header.s=selector2 header.b=CZ8lSFNx; arc=pass (i=1 spf=pass spfdomain=axentia.se dkim=pass dkdomain=axentia.se dmarc=pass fromdomain=axentia.se); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbiJIQhB (ORCPT + 99 others); Sun, 9 Oct 2022 12:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbiJIQg7 (ORCPT ); Sun, 9 Oct 2022 12:36:59 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2113.outbound.protection.outlook.com [40.107.20.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DFF8248F3; Sun, 9 Oct 2022 09:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n4+liMf/yTtHVhqlEf0XtUxk+gy816cAHc71mAZaHuxlhAZA7nIAr1HCDIYppIU+0AEPL6QPCORs5zAkx+1Hfz8F45Fr+ntVnr4MQU1uAdtw3vdpcKvYnN99JZmtCrwx+2WaoWaYtDExQfNKn5K3JDgiZ+4PpxH1QTRwXtt/GUUTTU1lOom3puhYycttV5T0s1ZWhdpF6sEu1YImzz9uKLWseBLvnn2ghUJSC9s31M8h+To0+5WKe9eVbSGaVLT7seyiY2++uebjQ5E2zypVFJAV1a/xiwqySrQHQdL94asp2FoEYpydGkuCQwQvtWsFi4GQVQKAjgpvVso+t5hbqg== 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=EGyqdhohxIU5ZAEeFtb0baIy/igo59NpNsfnfLCK8HI=; b=hi2VeDzc7qhA5q24BnLLZ2kGufBlZVo2dOJNifpDIufn4KIRLlhXN3op/W2A9aH000Mjsy1A2lzfUvYwHNQnAPFxPjdqaQj+PsEcRWW5+QQwUxjrFL8gjYwllJg+nQXnjR0etOPe0Av7S+d6mzMEfyktZYjE5+6iVqpuxKWvE3CdmjzOYksckvAWMjKsDcbMNTw1CbKhDL3pPoCvJFUHLGhe89+Cc7WIEVOwTLYzKQiE2WzungfAKHrhEvU137NBIAN77mBUJ0KC8ZsuYM7DcQyymNHGTlw9+HtJ1T4LFCOUvKFn+NWpX4HCiEoXP7xJpiOZ23C/2Nfu9AV36RGtYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EGyqdhohxIU5ZAEeFtb0baIy/igo59NpNsfnfLCK8HI=; b=CZ8lSFNxm6VYGRVZ7gvQ/8H7Q/j/MnIAbnYVib3fv5ifxQfcOg5AswejNnsNDTT01NJdwJwDncQ24YH55FLd1xlWrg0YXuXi7NXsm8YBJRdq863ypL6c5uyFGz1W3x7IVBTxvZYy+hsjs+8qdD5XTIFFGcuDja39haIOsOGQCJ8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=axentia.se; Received: from AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) by AS8PR02MB9017.eurprd02.prod.outlook.com (2603:10a6:20b:5bd::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Sun, 9 Oct 2022 16:36:54 +0000 Received: from AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::52a0:6606:db2a:51b0]) by AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::52a0:6606:db2a:51b0%3]) with mapi id 15.20.5709.015; Sun, 9 Oct 2022 16:36:54 +0000 Message-ID: <386fe4ae-0fae-0822-f86d-f5903369b424@axentia.se> Date: Sun, 9 Oct 2022 18:36:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [v9 3/4] i2c: muxes: pca954x: Configure MAX7357 in enhanced mode Content-Language: en-US To: Serge Semin , Patrick Rudolph Cc: robh@kernel.org, laurent.pinchart@ideasonboard.com, wsa@kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221007075354.568752-1-patrick.rudolph@9elements.com> <20221007075354.568752-4-patrick.rudolph@9elements.com> <20221008125436.ndj2nwesx5lgppsf@mobilestation> From: Peter Rosin In-Reply-To: <20221008125436.ndj2nwesx5lgppsf@mobilestation> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MM0P280CA0038.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:b::22) To AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR02MB4436:EE_|AS8PR02MB9017:EE_ X-MS-Office365-Filtering-Correlation-Id: e7290a36-f232-483d-9b70-08daaa14798a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9gIQEFLaBD7MV+cLZelxqmU3ub0j06pi7YQ0oGs7MQSHVZN0ajuE5KE98/sbXiSN/qOlTn237TWLHn8nIRcL3ffynqA7IX4bIigCVmHpdhLz+ZyhuevVhLllTV0K4n1iYQS5HhyMl9BaX1pPDV3EVH44vRstzuWAGVXBvBQevM0JbjvigqYb9dypoUYvKCGgE44GNy9OSTVlwqqQ+Pc6s4rbHUey3aeV27TtyhAzbEdy33nE2qAvm5vlBoPGFFy7t3zLzEVxOQ3QyjBcelc8vJvi2fnnuNouCyucq73a/NBBABp8Nd3NwH4roO14ZSGm+FdUiDFXL3uXQFS0b+I8e5qxY/krtKpkbAN4Gg2rfZXHoyLpxCZx5NtT3XeMPfn2GaJOyheRXnw7TdPKVeN/jgX2p3dl/DHqgKqRuxPyuTMBmDVOh2toEU4QzSf6vlwIR2RrQkIEV11iMe1i1np7+JE9kSCKCU85edSs28fNKcQ5O+3SMW97f4uXJQ17ndAhcrAYctthOqZc7J3Y15Ehj648MCUSNCS7HOoH7ej2PRXEqnRH6st5tcQFQtWkxyCUdzt81uZpb8djDJwg3a9DsQGsPV52lS8YMnoOaWlC2hYbQA53bugTSIMgNNUt7OaPf2eThu1ildtFI8GswIqjwkDmkMsEqpy32yC4MsKCHTijQyScYSYDUbHAgGuJvlRK5kGmBqszOmqir+2Wo7AEwjXHNtkd69Cbz0pFpLNDjrs2fIamB5bW+ZwGLsXmwWi0YWyKtuItUjtvHpevZDYniHhm13LIE9MRewt392ltEdg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR02MB4436.eurprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(396003)(39830400003)(366004)(346002)(136003)(451199015)(2906002)(186003)(2616005)(31696002)(86362001)(36756003)(38100700002)(478600001)(316002)(110136005)(31686004)(8936002)(6512007)(5660300002)(4744005)(6486002)(66946007)(26005)(66556008)(66476007)(4326008)(8676002)(41300700001)(6506007)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Zmw5ditoZ1ZTQkF3bWFOT2N2ekphNWhheXZLajBCQkpjTjlrVTZyWjl0SWRZ?= =?utf-8?B?WkxMbUdySWsvbCtmSnc0YmY2RTdCZndzWncwbmFWdWFKanY3aHJGU2x5Vlln?= =?utf-8?B?ZUJ4WTlXODloZVpKVU9ZbXdvUHJjKzdwZUhuVzFpbHZFb1FSSmVTcVdzK05D?= =?utf-8?B?R0crOWpNSitIWmxWLys2eU9zc0p1TFlQTitjWmptSEF5eHg0NHFZc2tPcTA3?= =?utf-8?B?QVJ3YjNuZVd6eE9WQTY3d0hxY2FKOWFIVjJPeVprYXRWMTRZbG16MmxrWS9I?= =?utf-8?B?bk9FY0RzWHVaR081eENzeHljRkV5UWtDSTJUSVhVVUhCMUFBc3BwaTd3b1U2?= =?utf-8?B?QXZLVFpld3lYb1VCcy8xdkNEYm5XSWhPTEhnOXhVZk9GOEV1cG4vTXFGM3RO?= =?utf-8?B?UDdQQ1lCU0lWYWtEdzV3aU5OZ3h1bEUvL0MvdmJ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od.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2022 16:36:54.3259 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NpJcTKLwXeFJFW/y9f9Odv7tSwhc5YJFA7dWAbbIrEYacvpdZrHrZULUrj/GuPs5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB9017 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2022-10-08 at 14:54, Serge Semin wrote: > On Fri, Oct 07, 2022 at 09:53:52AM +0200, Patrick Rudolph wrote: >> + u8 maxim_enhanced_mode; > > So long name.( What about a shorter version, i.e. max(im)?_enh ? No thank you, please keep the long name as is. This is a corner case and the name is not repeated that many times. Spelling it out makes the code more readable. Cheers, Peter