Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp246344lqk; Thu, 14 Mar 2024 01:42:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGCXdvTajVfOi4Mb+8diMIwqC2LpWKbIASncGwCZ8CeBBT/Y6sIrpL2ejuL8/ReSS4LQRY4z2u0XSTcIuOCmZT8yKejLt/RGDuWxC8nQ== X-Google-Smtp-Source: AGHT+IHzYBeX+RaRqtGjCXvSMXL/D1/vy4Pd5PevcaZ/MqZJFrn+YkGPfhMBa71XC9LKUlTcwnPQ X-Received: by 2002:a05:622a:4b12:b0:430:95cd:1065 with SMTP id et18-20020a05622a4b1200b0043095cd1065mr50026qtb.44.1710405761882; Thu, 14 Mar 2024 01:42:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710405761; cv=pass; d=google.com; s=arc-20160816; b=e7c9/vh1LCaqgJU59JHza+IEHmUqoGnutKXzhusblvOH8o2IavTqvbW9NWu3GlwIq/ 6N/aYbtElSFmLF59iQQROSKwBCLFU9xd9yvcVuFSLkQL4n6oXhaBsOfVEmNZqVuiLURk 8Qi2R76nzhEj76f2etml1goS88m6ORHgs/iyJW/4S0NqLqKvXfJE5E9NhriCo9RnNxqP KmWe4i8boCBpRhr8WUADEYRvR5c0pWQfvtjyEJceBXd4wFkZZxVjMwZlVqVIhATONpBX IjuCtqdO6YUxLswcwks3wRtiN5ipKTP4iuiVDuiLtkVi93T48+qIaodm8pm9l81Egi/P kl2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=t+RewDLamWAHMrg+3ln/QPQ9cqYlQ0kzaDhyZsJynB0=; fh=b3U6AqsYCAPdGZ7bCUMoqo5R6i+Yy85IgclWEPlogX0=; b=CkeWxMBT+z2XuNX5pciHzMQZ2zZVTK272x8Hp0a7M4EI/HclKs6vqN6ZE8PlitWzsQ UlRGoBlcB/sDeF9ioe20MKG/pvtdxwgNSIMYGOMe5ZA8+4TyEe330dink2kMv3iCpy3A emnI1ZP6KNwKgJgNXUHxSPqgEfqOXcW0+eoikwDIVm0V9agmBhCmeeE6Ib3Xs4YnH+Ty wBGErJ8Aqe5gvkp0Ytv1M94JYa0k5wsthZNfTZHdi9B2X+nGF0K79KoNGN2vJFGap+5T Wi0OJ/iBRWgmSOQp4kYz2eWXR5NAFISw7GHZwcsKzckcwUveGDxUyX98ePwbllSV9l2W 0MpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IqE2nXnH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z1-20020ae9e601000000b007887a2dfbe8si1049925qkf.237.2024.03.14.01.42.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 01:42:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IqE2nXnH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 997CE1C21876 for ; Thu, 14 Mar 2024 08:42:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 551B66BB39; Thu, 14 Mar 2024 08:42:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IqE2nXnH" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD3215B5B3 for ; Thu, 14 Mar 2024 08:42:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710405753; cv=none; b=gfNhOenCuFVY6giVHiUVRJIzcoW/vSbZ/+MoSKy+niRp17cNcWLm2JnkgoqwOqg6fi+6X5G323UIevrvsa8Cj8bpGXGjPOZy5+ml+IhweD7ZgZPBLWCEq1GCnNEMZKLLCkFMQC1dRdRTGQStha9VXMzk2isU/+G8dsZktxh8mSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710405753; c=relaxed/simple; bh=t+RewDLamWAHMrg+3ln/QPQ9cqYlQ0kzaDhyZsJynB0=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=KNiH9RwBM+pkqthJ3KRHIL3PxMlZ3GiArPLzmv7G1zKckXw9MwnKvsp8DMztEWxOG2sqjBr8A7Kuc6Qc2oVMgFXFVwyjlsBn/E/57JpsrVpGp1cV0ES2Ua+DoSEQb9pKB8BJf4/JFW+5lIetongpki1cdvxAHU/hWYzhYQkty4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IqE2nXnH; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-33e70d71756so1065602f8f.1 for ; Thu, 14 Mar 2024 01:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710405750; x=1711010550; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to; bh=t+RewDLamWAHMrg+3ln/QPQ9cqYlQ0kzaDhyZsJynB0=; b=IqE2nXnHv5f4IYG5IZiyJWlLuo+bsCEHhafgJ+9BptFE3TQjySGofxBQ5Pj+7CXAPN xHUlhX3AzW/rVvDRSu2OgszCejNcXIcDHXTOuZlRn3HMWHCfUeXvYgeFjHQw064HcFSC RBDzx2Y13EBNZNxAC9wbNblKEoqjzhUocRnvjyhjb80AgDVYgLjEfLXBc47w6LWlSQbU D7a1cMxrEtkLs9scGtaqpmsa4pqPG25/SAl/cXbKzzs0WCYVmPGD+2HrqiBCKJlVKpbx cqbKG/GcgID6zW1SGWv6OqPukc2iZT5Hr/2/W+A5r8H/oB7q5RkqoGDA62tG7vLfz/Kg 1HAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710405750; x=1711010550; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t+RewDLamWAHMrg+3ln/QPQ9cqYlQ0kzaDhyZsJynB0=; b=SXQpnwYYUGSJdvOjQ9/XQzaY1C3bvJ0bmpTi9myG5P6cEhWnV77328JtwBvJW6rZKd GxPCQRDj3Vp7a+mpvWM+tJf8meRn7a42h8T2dSEH1b/mLrVBSUIRIcJyQa4lJlXNR7EZ 4ObZLsvVlzwCniCEwbglLQr1GjXyRbJO0AO0Ds1CLGYmcLRKn8HMaqiUblsz3tboeQYj by0sGtSNWMhfRkprZhK2OTanS4SLf9bB6YhMk+JVI7D039I3w58dCkXGlrwITsHWZDY4 y0nDTp2hMZimaixaShoXWh66Jjtcn6ETLk4UhxZ6n9poiAjZKkVXPRKXDQGb4IE+WbDW G0oA== X-Forwarded-Encrypted: i=1; AJvYcCVP+eO/7e1q9Sj+t/aO/QSCC2NTcrawOdDGh7JUtlQ87DMAZ8UsFu14694er/UK1XBk9ahboolL7ZQXqSYIdZFRNXy7RcjqLQRvmyXw X-Gm-Message-State: AOJu0Yzoc/zAAJzyxdsrIs5gMhZdE5G21QYiWF5aYyYdJZ+xKA4gKhSL tWdfweN8om30alYbrOz5OvfJ3CaV2KSWvkSOsuc+L8Hi6OXV4ScJ X-Received: by 2002:adf:e6c1:0:b0:33e:7bac:7b18 with SMTP id y1-20020adfe6c1000000b0033e7bac7b18mr896819wrm.5.1710405749946; Thu, 14 Mar 2024 01:42:29 -0700 (PDT) Received: from giga-mm-1.home ([2a02:1210:8690:9300:82ee:73ff:feb8:99e3]) by smtp.gmail.com with ESMTPSA id f10-20020adffcca000000b0033d640c8942sm221081wrs.10.2024.03.14.01.42.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 01:42:29 -0700 (PDT) Message-ID: Subject: Re: [PATCH v8 02/38] ARM: ep93xx: add regmap aux_dev From: Alexander Sverdlin To: nikita.shubin@maquefel.me, Linus Walleij , Sergey Shtylyov , Damien Le Moal , Thierry Reding Cc: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Dmitry Torokhov , linux-kernel@vger.kernel.org, Arnd Bergmann Date: Thu, 14 Mar 2024 09:42:37 +0100 In-Reply-To: <20240226-ep93xx-v8-2-3136dca7238f@maquefel.me> References: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> <20240226-ep93xx-v8-2-3136dca7238f@maquefel.me> Autocrypt: addr=alexander.sverdlin@gmail.com; prefer-encrypt=mutual; keydata=mQINBGWpGj8BEACy09IxfduHTzAdqKkf3SmGIHIEquHWHIXqgVIoZo/ufP8mIpsWYwFKP9gsCvVvNNugtK8YPN92lbHol35nfZiXLIp16ASRQXYFtBjXj4GAVjUPjaTkQbcedIgD2nEZ/HQSiohfnUSS0YmxI0UUJmZFulwQZil6OmPVbbQoda8/In5h/wNRo6y5vJreRhsjqcP5LckLRov3t+jabUzn0/1twHNO0SnI508dXenEhQcBX7Wns+JfwRqO8jxBK1P3DntW+n0OJ8DkjSMJjm0zk9JtY28WK332Vpq8smZxNDNCfs1YtRMzfEEZKRvxsSMzTxri/cw7VXJa7m138LlyPBkXizjAKqad/Mrthx4ambsWuRXyjklYOBYqMEAdlZNLPQnhnIICFwkJ/lnLE8Ek6Dh0NYl1HpsOyvu1ii7VPEXHLMGTKFmFmWtrmCUrHIBrAvStMJ2jIRhEyCGDpf6f5dfKNOb3GWRtX36326TDOa2eXWqaTQEPKWRSUwhC3f3j/C/o/vj6bDHQ8ZsNcKYxwtSoh+elHT5xtHOMvPBP6gavgZRDnH6wBSHWnXYxyOmZPKr2NuhMwhEyhpvkEq5zW6Z/hp5POzZ74GNkIKB5/FpETobgoV/XB2HMnlIUAJE2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WCoZavsxLI3zFsmjebwCndr8AA2WFlhQBOu2ztEgWLJpqBNH8+fgxLEt+L+oRHFeU60XlowtDT/oGlbcbR/cNnZ8OLwr0esN4LuZWNW8uNB EZGRCtvlFXNm8HOqHhx3APBl3vHvsvJTIH9agXHgKmy6lviHFf0qyJsyVpoGonK1tjRTeh c1oMKY+O7/JqOhEp/NwI+HI3THVgagrBPOjbiUA3q/0FW1puGsOF69gZlFA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Nikita, On Mon, 2024-02-26 at 10:29 +0300, Nikita Shubin via B4 Relay wrote: > The following driver's should be instantiated by ep93xx syscon driver: >=20 > - reboot > - pinctrl > - clock >=20 > They all require access to DEVCFG register with a shared lock held, to > avoid conflict writing to swlocked parts of DEVCFG. >=20 > Provide common resources such as base, regmap and spinlock via auxiliary > bus framework. >=20 > Signed-off-by: Nikita Shubin I've applied the whole series onto ef6069f3f6577b2e5bdf223d2f6d09f23bed8c6c and tested GPIOs, SPI, DMA, sound on EDB9302, looks good to me: Tested-by: Alexander Sverdlin > --- > =C2=A0include/linux/soc/cirrus/ep93xx.h | 26 ++++++++++++++++++++++++++ > =C2=A01 file changed, 26 insertions(+) --=20 Alexander Sverdlin.