Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp91526rdb; Wed, 14 Feb 2024 13:51:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXLN2yAK4ktyJP/Kv5a2InZ7GmnQb7NVEWIyAfPDTWY6LrBrqolLfv3wuKEl413sxsUupXqcmX46Y0j4pcxlVh+Im7m+rne4GkBynLEeQ== X-Google-Smtp-Source: AGHT+IFoyGfXbtN9OBMSqCv/bDlvrFJWLaS1BhSZ5lCcUjZDdrVsQ4AeMW211k/5mBKtMIynGxkH X-Received: by 2002:aa7:d3c9:0:b0:562:1208:8ceb with SMTP id o9-20020aa7d3c9000000b0056212088cebmr2690390edr.5.1707947479576; Wed, 14 Feb 2024 13:51:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707947479; cv=pass; d=google.com; s=arc-20160816; b=nR4RPdZGhGWNsOHvoUYd3uQuoHW4L6VnY2BPvEFe4hTWV/O4C0Icog0BkODQv68XzI /Xl2bYu8TDAkgy0ri4SZfYVTzGK4JA7GzvF3lVHOTVqG1w4nn/EeSS5cZgb1QcsZh7dJ TH8hlEIsWSmbXayTAYoq15sogFeOZxGGcQrMmXPLaW6sISvUNEBiHLgj/oX4KRp6FfDl Lu3/08pjeiBBheIxGf+tfundp0D4BCwr5W9A7f6OdjpzFXGomN5HFhojWQqOi2rafpfu 0wNQEl2RPFaG9F4Ucda1RAG/NhF6QY6LbaJf+xODuv3bMySjKwM5TvCrs9JgD+V6WMK9 Eoxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kM8q6lBrSyWKTQJ/0KMvCSF6hAgwRMBwXudXA6ftT+o=; fh=hKAVRcprFqDF2PIp6yRz7cCyDXT0VYQdL5C+UknNI50=; b=Immy7Cm5hN9HxJIvaWWG7gNXmoqBiw++6NxHaNEcN+semp3ws7Au0IkpeZlXnelIHE 7mA2EeQRjyG1SA5uXEaCcUBBq6S1VW6avre36g5bbcXA3q3wv+gEQOr2kckgXF60inpW MZKPof4EdElgdtUrLc6P3bFBPqeaAbSuVaybVPsKZ0E0xtj/dnBR25t1XqTyGXqkP3Ay JyvaDLQZgRCL5UCI6UWe+zuuu/ZYNBZQP5HRHydM+ZrYf5i0bOPSYkatvWmfwcNmtsVX dWvG+RkA+EbPajgJm4vABrLavQPwWjgwcHRlMFw2VFNzMZ9pFC6Kx16rLSU9kzq6OXl1 czLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=INmBAELm; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXf0HvsBW/UC57aXj88jP2m72yM9R1jCFztGkmo+6umqdp1P0on8+QNylfqTopCV5fHK6aX61Mq7vR9OuyI+gfHqU0BDhFIGVHwRkNZIg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r4-20020aa7da04000000b005638574478dsi786325eds.513.2024.02.14.13.51.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 13:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=INmBAELm; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A8F871F2BC9E for ; Wed, 14 Feb 2024 21:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 992ED13F011; Wed, 14 Feb 2024 21:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="INmBAELm" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 B247E18E0C for ; Wed, 14 Feb 2024 21:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707947101; cv=none; b=u1LA39kmOCAhMap8rYem1Co5GqO+LuXZPfavcTZRCCHuL23cdUUyIffojGk+3PzCjMMhR2VehYBQUiK9vk9CfrpLktsROVwY3d97Sbaf/6fZFbrTEzQdPucbzfnLIZqdC9izOkPFqYx7ZiKWiWTZyInADsKPFS9M7ZWiAQ5Dd/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707947101; c=relaxed/simple; bh=WwB54VZSMOscCJiKjV4QGINiMYG69OwYG4108VCNzDA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gmRalRsFzBGebVCs072KLB6Pf64LtTIdQhs3iswvOq16DdQNNAEh77SDokC1OAEfBLv4nnoctzp0pE3EfvFzXNCcMAYfPaqxlbEHtrUjGreK7woy5DhA208tCCz+oqdbNVgt/yJe95r49Uu4hrTZh7kX/ZwJMUUF4QjDw5QMGMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=INmBAELm; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a3d6cd979b6so19003566b.1 for ; Wed, 14 Feb 2024 13:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707947098; x=1708551898; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kM8q6lBrSyWKTQJ/0KMvCSF6hAgwRMBwXudXA6ftT+o=; b=INmBAELm8Of6rVSlSV70x9R12Fo02AWFbQcdPcpQ7exCiJNf3wXhsnyX+Ebqa41+RR SZyH1t9S1U49yWcP9dtHzros9NqSM95w3bO1t7f8++x/w4S2vTFA0hsWhUIrVAmQApEI ih7rVlmQZrJ61OoeGxHCEvBiyIQuB8PP4erxd459Ne6pbxXuiUXf736tk0SKjTzSzOLt VoXz3gB+Ozc/IwIms6hw6kwwGkwaeqoKkkC4zvKkNrNcs2VCgqfk3xid2tiOsQxGAKXF vtYOVxP5TO7yAXCzqCwB9eIDvuYZavSV6ePZRT5u47ARJwk6FrwDZHvu6kC8hx4UOPnj YxKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707947098; x=1708551898; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kM8q6lBrSyWKTQJ/0KMvCSF6hAgwRMBwXudXA6ftT+o=; b=bB4BHYwrUFbQHSEHG6vr/yxRAuFt0JxFlARue64QT+cWWFMUgP0nDiYfa7tAGxGMSW Lrz1SNKGn1yygRkS3cptwoY1w2FSvzKf4vjMrQY4ma1nHTQEZFeTm1I26+5isXEvSY8+ EkQrl63uAG5dIhMnkQFlIokgFWJlGxBALrjXxFhmBV5Qgf7IGjLFaQjv8X6JSWk4SWgZ vSMkHSC6hvgILVN2lkLwXcKwgbuzjxSku8MkNSG/9zL+VzIDR2Bb43ZVOHH3u7nABorp 1WDYSA28q/6zq71EQMQrx/ekTQMSUGgGOp7N+qOsRv52fV7q7B7ZlLqP3/4EgAwuKyyu m20A== X-Forwarded-Encrypted: i=1; AJvYcCW3BpcCzpk3Kk/jBgFAcER/anfA8BI6al7vq32ZnT7VwEtu4byZaFbevTNYAXT+wpXkBCd7N5lAYt7H55Tmid/bgNzKsKIZs85XcxTC X-Gm-Message-State: AOJu0YzV8BTjwHLa1D/Lj5cGGOQ2WIDel5tiqMEFuBcjqqqi3fjAe0u1 kC6xChnSs341aXLO44URm68AilDcAndkkcc7qmpvj3cua5b1FPs8rsBxiUj9X8k= X-Received: by 2002:a17:906:1702:b0:a3d:7cf5:c2bd with SMTP id c2-20020a170906170200b00a3d7cf5c2bdmr290856eje.4.1707947098002; Wed, 14 Feb 2024 13:44:58 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXTTFv9ej44nyXgjNNRVDKsHO6Zjdx38niJkJ8JthLWIWRbU27+CavjPL3CWI0v0IUt+xfttiRTT1sjtVEop6eSUTgNaM3kkYMExT3SaDTGmmATHuWV5ZC5/nug7Jwy+94SVuVFnHm0SwfXQMdy+xZ/MYHqgzsSTkNAz5n7kBrofAzxvj7P3gGA3haEnt3d1x28TFBmyXJwJDl9LLGbGtXl83e54IcX/svAvfxNyxIInYfVAp8MQciFgHYMHFz3QZzhYjRoDUD+bOpSYoaiK/IWIfylJ3Hcb2UQiUOdxpY5Weh3iotAYrBbauoK7XW44UmWxH1GGAdYf2aUvWV/CB7V50Gnpvh4+rnrGCwhAVSyGcUuerGnj7E7xpAe+q6UFjs8jw/Qj628RNAbb8s1IT1RkE7+6tjN5KzGkVus8/I7kvzREDT0R0uMzNnRL0RYU4Qb/oj1MlbF5RTUlm+7+wVazSnNrCm4HeyRre/jGSG2cqnl3m0JoQ== Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id sa4-20020a1709076d0400b00a3d841e627bsm51757ejc.58.2024.02.14.13.44.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 13:44:57 -0800 (PST) Message-ID: <5e878fd9-8215-499d-ac1c-191cb5bfe798@linaro.org> Date: Wed, 14 Feb 2024 22:44:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v3 3/4] spmi: pmic-arb: Make core resources acquiring a version operation Content-Language: en-US To: Abel Vesa Cc: Stephen Boyd , Matthias Brugger , Bjorn Andersson , Dmitry Baryshkov , Neil Armstrong , AngeloGioacchino Del Regno , Srini Kandagatla , Johan Hovold , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20240214-spmi-multi-master-support-v3-0-0bae0ef04faf@linaro.org> <20240214-spmi-multi-master-support-v3-3-0bae0ef04faf@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3ohAo xL2UgwN5vj74QnlNneOjc0vGbtA7zURNhTz5P/YuTudCqcAbxJkbqZM4WymjQhe0XgwHLkiH 5LHSZ31MRKp/+4Kqs4DTXMctc7vFhtUdmatAExDKw8oEz5NbskKbW+qHjW1XUcUIrxRr667V GWH6MkVceT9ZBrtLoSzMLYaQXvi3sSAup0qiJiBYszc/VOu3RbIpNLRcXN3KYuxdQAptacTE mA+5+4Y4DfC3rUSun+hWLDeac9z9jjHm5rE998OqZnOU9aztbd6zQG5VL6EKgsVXAZD4D3RP x1NaAjdA3MD06eyvbOWiA5NSzIcC8UIQvgx09xm7dThCuQYJR4Yxjd+9JPJHI6apzNZpDGvQ BBZzvwxV6L1CojUEpnilmMG1ZOTstktWpNzw3G2Gis0XihDUef0MWVsQYJAl0wfiv/0By+XK mm2zRR+l/dnzxnlbgJ5pO0imC2w0TVxLkAp0eo0LHw619finad2u6UPQAkZ4oj++iIGrJkt5 Lkn2XgB+IW8ESflz6nDY3b5KQRF8Z6XLP0+IEdLOOARkOW7yEgorBgEEAZdVAQUBAQdAwmUx xrbSCx2ksDxz7rFFGX1KmTkdRtcgC6F3NfuNYkYDAQgHwsF2BBgBCAAgFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14.02.2024 22:36, Abel Vesa wrote: > On 24-02-14 22:18:33, Konrad Dybcio wrote: >> On 14.02.2024 22:13, Abel Vesa wrote: >>> Rather than setting up the core, obsrv and chnls in probe by using >>> version specific conditionals, add a dedicated "get_core_resources" >>> version specific op and move the acquiring in there. >>> >>> Signed-off-by: Abel Vesa >>> --- >>> drivers/spmi/spmi-pmic-arb.c | 111 ++++++++++++++++++++++++++++++------------- >>> 1 file changed, 78 insertions(+), 33 deletions(-) >>> >>> diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c >>> index 23939c0d225f..489556467a4c 100644 >>> --- a/drivers/spmi/spmi-pmic-arb.c >>> +++ b/drivers/spmi/spmi-pmic-arb.c >>> @@ -203,6 +203,7 @@ struct spmi_pmic_arb { >>> */ >>> struct pmic_arb_ver_ops { >>> const char *ver_str; >>> + int (*get_core_resources)(struct platform_device *pdev, void __iomem *core); >>> int (*init_apid)(struct spmi_pmic_arb *pmic_arb, int index); >>> int (*ppid_to_apid)(struct spmi_pmic_arb *pmic_arb, u16 ppid); >>> /* spmi commands (read_cmd, write_cmd, cmd) functionality */ >>> @@ -956,6 +957,19 @@ static int pmic_arb_init_apid_min_max(struct spmi_pmic_arb *pmic_arb) >>> return 0; >>> } >>> >>> +static int pmic_arb_get_core_resources_v1(struct platform_device *pdev, >>> + void __iomem *core) >>> +{ >>> + struct spmi_pmic_arb *pmic_arb = platform_get_drvdata(pdev); >>> + >>> + pmic_arb->wr_base = core; >>> + pmic_arb->rd_base = core; >>> + >>> + pmic_arb->max_periphs = PMIC_ARB_MAX_PERIPHS; >>> + >>> + return 0; >>> +} >>> + >>> static int pmic_arb_init_apid_v1(struct spmi_pmic_arb *pmic_arb, int index) >>> { >>> u32 *mapping_table; >>> @@ -1063,6 +1077,41 @@ static u16 pmic_arb_find_apid(struct spmi_pmic_arb *pmic_arb, u16 ppid) >>> return apid; >>> } >>> >>> +static int pmic_arb_get_obsrvr_chnls_v2(struct platform_device *pdev) >>> +{ >>> + struct spmi_pmic_arb *pmic_arb = platform_get_drvdata(pdev); >>> + struct device *dev = &pdev->dev; >>> + struct resource *res; >>> + >>> + res = platform_get_resource_byname(pdev, IORESOURCE_MEM, >> >> It's no longer indented to deep, no need to keep such aggressive wrapping >> > > The pmic_arb_get_obsrvr_chnls_v2 is used by both: > pmic_arb_get_core_resources_v2 > pmic_arb_get_core_resources_v7 I meant line wrapping > >>> + "obsrvr"); >>> + pmic_arb->rd_base = devm_ioremap(dev, res->start, >>> + resource_size(res)); >>> + if (IS_ERR(pmic_arb->rd_base)) >>> + return PTR_ERR(pmic_arb->rd_base); >>> + >>> + res = platform_get_resource_byname(pdev, IORESOURCE_MEM, >>> + "chnls"); >>> + pmic_arb->wr_base = devm_ioremap(dev, res->start, >>> + resource_size(res)); >>> + if (IS_ERR(pmic_arb->wr_base)) >>> + return PTR_ERR(pmic_arb->wr_base); >> >> Could probably make it "devm_platform_get_and_ioremap_resource " > > The reason this needs to stay as is is because of reason explained by > the following comment found in probe: > > /* > * Please don't replace this with devm_platform_ioremap_resource() or > * devm_ioremap_resource(). These both result in a call to > * devm_request_mem_region() which prevents multiple mappings of this > * register address range. SoCs with PMIC arbiter v7 may define two > * arbiter devices, for the two physical SPMI interfaces, which share > * some register address ranges (i.e. "core", "obsrvr", and "chnls"). > * Ensure that both devices probe successfully by calling devm_ioremap() > * which does not result in a devm_request_mem_region() call. > */ > > Even though, AFAICT, there is no platform that adds a second node for > the second bus, currently, in mainline, we should probably allow the > "legacy" approach to still work. OK right, let's keep it. Konrad