Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp618347rdb; Wed, 17 Jan 2024 11:54:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsL0uyJxgOkn1oRAPy1M0rBQOWyRvihf2INnjpf+MoDrTbzO3jUH8IVqU5POtlCpKu0HMt X-Received: by 2002:a05:6a20:c88d:b0:19a:b80b:59a0 with SMTP id hb13-20020a056a20c88d00b0019ab80b59a0mr4866053pzb.58.1705521286495; Wed, 17 Jan 2024 11:54:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705521286; cv=pass; d=google.com; s=arc-20160816; b=E+qM40eVRbTF09zqem7DmhiAsmnZ/nP5644xbQ3OkNdsPcHQEaHNGLEZuC8tT+Eh/7 mKJi5NrBhcuHw7YvAaGA1YMb4C2eSDHr4Jzc3UgyN27JcpA301K2CZGoDeTdu7vGrW6x x4f6vixqxVHW9GXJn5puUMAZ/oJwttB//A2Pqoi3bJlMHRW8I+kMnkv40czcWpd/P5JG 8bulxADYDh4MFMl8Z2GCCkSXVwxr74wDFyXYxdsvsnYZEx9Y3y6zuJPDHOxtZ8WuoUsf eFu0a19kLY24J3xaPqSvCpzZYSigT4NH6Mp9ibatM/Y5Ps4pa8bxtKlYx2R2M65sJp7L 0+Dg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Wm6DgYvqeoRUoLSmR1T0PQYUUXuQvfXV0BJlW+D/OzU=; fh=P31oQyb43bE2MryAccONe+zS8ABT/LvVn7fR6lIIRuA=; b=LSwM7ThwI+QVyt5vipQIcV9OCf6MGYyKvj2EiLpCR/Z59glcvMQM8AKCMSHG2C7bRv R7LDtsZh1p2Pq0RV9Ant5RBuQq2IvrDg9T9LlR31CO6Ad1icfKgXO+dI5bapQgaVTVv3 N93/hWWx+uLbU7wHNyNLj5K0gh1PzmGhhrmsqBxxW2fKkcARkmNqgDKHiir6PlMUsi8W IHDQSYc5q8a+UbIXUNVjMIH4Zc9GC0m5+IT/psDvM8MMC7JutJ3Ply332z6My0so/gGX hSN1TdC3ijUsdi4mmC+1tIv0yhV18FM/4VavmfTbmCQYXvg73HXk4dMVJSl/ONjMD+XN X/gw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlwTFxa1; 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-29377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u12-20020a170903124c00b001d5dbd64d3asi72224plh.334.2024.01.17.11.54.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 11:54:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlwTFxa1; 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-29377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29377-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9D074B22500 for ; Wed, 17 Jan 2024 19:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A17624A12; Wed, 17 Jan 2024 19:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VlwTFxa1" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 F418225622 for ; Wed, 17 Jan 2024 19:53:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705521190; cv=none; b=qOPzAj3b+NlTpmiaA3TNmtZbKHM+0Wb7clrAZWWJFYg9b0FmhQIzykLBm+0DyNYq4/wJbGXmxtrsshwVGQXWVzGnFhhWfkNnCoNyn9TpNa1mPaWIf8OvRHYJ+aABpe7JRQQBk5/qFqZ0G/+/ayid5aOgyHcS9khBEK/7BTBD/Ec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705521190; c=relaxed/simple; bh=72BXa3ZPIvfwifjasuIJd6GMJgCyzAgDKLK46N4+lNo=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=QMnNs9eJ7vG4izqXiQFNYhLyP/FcKIhi+Rx+7uHdRmswe4kBCLoqn0umI2l+AU924p8VYltBRquHIdj9i+qABbJ1osRJ2Hs1QV/PRzYnvyIAMe5oGHkkPW70b6Dxn+pih3MBzpuVpB8LvCq37YSEmFgkonpFPrYSEcG2fvyaXMc= 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=VlwTFxa1; arc=none smtp.client-ip=209.85.167.53 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-lf1-f53.google.com with SMTP id 2adb3069b0e04-50edf4f478eso10325833e87.3 for ; Wed, 17 Jan 2024 11:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705521187; x=1706125987; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wm6DgYvqeoRUoLSmR1T0PQYUUXuQvfXV0BJlW+D/OzU=; b=VlwTFxa1/5plN/+HIzMYZULkK+6HrCKzJry9DuJrHZTaBdH4fTv3TFI+68EyofF4Qw PH2YMH01IcmmKJbDKlyDPwPqsTfEteiQk8ysV442y7ts5RXF59Gj8PTqS1UTzMBTDScl 5qMFTu7s15+h49v2a1AK4k4/Oh/TAgRH/44JA5iBe2jxTHP3SSdsCE/WjUz93lXVr4BQ nSMpaFkaiDaTBcn8zPPMcQH1HAzLjv0uiY6wL2062BPLm4TLYwrvbteMme1Z3ggKtik9 NSTid1toO/oZxKFVBmiu9lVGhoghNFMfZEbys9D4Nlak0YTps79yNY5EJF6pJNH66IP5 h03g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705521187; x=1706125987; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wm6DgYvqeoRUoLSmR1T0PQYUUXuQvfXV0BJlW+D/OzU=; b=OZ+5tanw3XEzL8y8JKbr04zctWpbFxAbUKhJmg+0R9cXhgKnNrstjsxWzbkTp5oCJp dNRta+isH8hhyFgFMuFOAB/XUrGcL67z/b/4ZTn0ZwMVlvHCGlIzTLkKQciM3EWbuVWp ereylu+2MqaHVlsj/MDL/4+bEpp6MB8/+Wj4jFR1acCzMt1ZunBpiZLwmZIy+cAIj5jU k5MOvX0N6r1/+FBgGjvYEL3TlrVWdJ7KH52XGZIyvKAABmST4e375SuSg7IfMZIkqlC/ 3UVDk9zFyPM5yQQyGV6smVue6YSEjvKUkfiYuZ7zuG1QdloG0QwcNee5wtWEH4nmVild plWQ== X-Gm-Message-State: AOJu0YzQRKpaJ10//dvmZl9bfp/epbZIyLuxoCSd69us4Zz0YxhM2dyx 9QTPfgVEUB1u5o4YYliHsyJz1dKFeQh2eQ== X-Received: by 2002:a05:6512:b90:b0:50e:f1e1:6127 with SMTP id b16-20020a0565120b9000b0050ef1e16127mr3641304lfv.58.1705521186890; Wed, 17 Jan 2024 11:53:06 -0800 (PST) Received: from [172.30.204.151] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id b4-20020a056512060400b0050eb2325472sm352946lfe.37.2024.01.17.11.53.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jan 2024 11:53:06 -0800 (PST) Message-ID: <7bf729a4-f3ac-4751-9275-a2aa4d62c036@linaro.org> Date: Wed, 17 Jan 2024 20:53:04 +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: [RFC 1/7] dt-bindings: mailbox: qcom: Add CPUCP mailbox controller bindings To: Sibi Sankar , sudeep.holla@arm.com, cristian.marussi@arm.com, andersson@kernel.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_rgottimu@quicinc.com, quic_kshivnan@quicinc.com, conor+dt@kernel.org References: <20240117173458.2312669-1-quic_sibis@quicinc.com> <20240117173458.2312669-2-quic_sibis@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240117173458.2312669-2-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/17/24 18:34, Sibi Sankar wrote: > Add devicetree binding for CPUSS Control Processor (CPUCP) mailbox > controller. > > Signed-off-by: Sibi Sankar > --- [...] > + - | > + #include > + > + mailbox@17430000 { > + compatible = "qcom,x1e80100-cpucp-mbox", "qcom,cpucp-mbox"; > + reg = <0x17430000 0x10000>, <0x18830000 0x300>; These reg spaces are quite far apart.. On 7280-8550, a similar mailbox exists, although it's dubbed RIMPS-mbox instead. In that case, I separated the mbox into tx (via qcom-apcs-ipc-mailbox.c) and rx (with a simple driver). Still haven't pushed or posted that anywhere, I'd need to access another machine.. On (some of) these SoCs, one of the channels (rx[1], iirc?) clearly bleeds into the CPUFREQ_HW/OSM register region, which gives an impression of misrepresenting the hardware. X1E doesn't have a node for cpufreq_hw defined, so I can't tell whether it's also the case here. Konrad