Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2517820lqo; Mon, 20 May 2024 08:12:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYYBm34ZXzpRFvYvJEyXkFgOUk6yEqevlZxoFWIhuh6QpYlqteOFqOTjOm9Yl7azAc1dD0yasxd0Oa9qA8HLV3s3xkbTaD301anTrpFw== X-Google-Smtp-Source: AGHT+IFAiS2br87FK8c23SMZBPr8mxp5r1PlyuAhxZZPku9MzuB5kOiaDtfVAp6M0g+YJcOUcOpz X-Received: by 2002:a05:620a:2994:b0:792:e546:ad6b with SMTP id af79cd13be357-792e546af63mr2638363085a.69.1716217958575; Mon, 20 May 2024 08:12:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716217958; cv=pass; d=google.com; s=arc-20160816; b=YFyjFta7DrJt8iZHkQXqI1cARNAzpWB5fAnCmj64dtEC2dwQ59mtMah1m2pymhmizb U64cDVzIFUzz4Xw+S6OAJ46xhhTThOhd9tYhvMO3QTTHJ/uhKnHjkuvUy2LgxOZ6MINA J1NLqt+K4vhqNeuBtxNSRvAuc/qb+rnIYC/weJImsiGwbAAWbVbrYElA6S8Abo/wUYZ+ adQ3WikW6BEE5lW5u96y+VevQCRzhOjYYCAAMRPF7vvlfcXkVuav2K8/6o4Z+t9+opnW 0MVyznASWOb3agERe6esXvuG/YdHd4NXggiTgwtelv07CJQYAXbDefEs9TIsMCg3xVu0 HN4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=uyPwurxNXJ45N3m/9QZSfJDChJZlrbbyTpvshR7q4/k=; fh=NqO/tWKAchQe3GuosQg+W8SBRfCwMt3m4ozfb/b9E7Q=; b=I7onWExX6ffCBK66WD5LgEXRdtHjyq2wubL1sExh4Va6G31+6Ymc3UyKY1Mldao31T 8Cti2XggCoE2vMVCHSn66wB3SmovSlDWbUpibZJmdOdtxWo4Vn3HAZQ8Ch98dWIIaZ61 2QWk5XRmKkTsK/RYgPKKHTlcFgJ1XazTI3dqv4wuuKfLfJRo3YNHzMS4rk411X6CgMbm vq1fkDG6zr+RuTMS6mcWMK3qznxXYL4Pav3DNb9JgSOk5lEbomYFgHifnhJx15+pNz5d xx99CP54y3l1JfpS9LtdbMKP+DA/7+tt2DRy2oIt+rpy/FVD+K6IUJMu/JYnrGFEj+I1 O4xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=iG0uswZ8; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-183886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf33f14asi2527843485a.536.2024.05.20.08.12.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 08:12:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183886-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=@z3ntu.xyz header.s=s1 header.b=iG0uswZ8; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-183886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz 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 5437D1C21B62 for ; Mon, 20 May 2024 15:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 932A313774B; Mon, 20 May 2024 15:12:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="iG0uswZ8" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (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 C255A136E21; Mon, 20 May 2024 15:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716217931; cv=none; b=j6TjjyBeSyK9nW0uo3+aTbfWfaLNyuL46Ac3dizsPX3c8/6WG4MJEreyECh3rWtBcYHPtarjCgweTevHHOgglJWDPYEH4T5+3tmE+gs9pR/EfoqzCtJzU6BKWhCZV9uaqrUBmkhxcptoCJGz1FSzXorkqEWlAwfRnGOLrByDxUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716217931; c=relaxed/simple; bh=l4YKr8q4hSlSYnlmC8is7kKyo1psXqGg1nzwO8qkXlE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gAgz7XRGza/827sOaMKyoSsE4vSJ8P2j0LPET9S7SufeD9TNlu1U5Q/yJ5PDMJZsdPM+ozq+jcp48W9dNZ+QNxoSYvruHVadx6O2sxIepTP05HG0BMUXNVddc8hHTglSH3j5tnE0YZfaX9LiHDqd+wf3t/ocnoGq1bWNIJZl0zI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=iG0uswZ8; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1716217922; bh=l4YKr8q4hSlSYnlmC8is7kKyo1psXqGg1nzwO8qkXlE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iG0uswZ88y5tt8RR8Ak5aackUNDyrnZ25F5WfiBekmPKoJem+rMN4eLLQfnwcRz15 DZDAKMBRaYH08cm32uki5G5LIx2r2UNnI7utFn9a9zKML5Hp2DqVRRnZG+cMWs/WE1 aKV0IBzQ8gTcR2Y6rhwj2nQXmsL0lFC3+EC34kH4= From: Luca Weiss To: Rob Herring , Krzysztof Kozlowski Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 1/2] dt-bindings: soc: qcom,smsm: Allow specifying mboxes instead of qcom,ipc Date: Mon, 20 May 2024 17:11:59 +0200 Message-ID: <12437992.O9o76ZdvQC@g550jk> In-Reply-To: <1ab150cd-68f0-4153-8d4e-5bd30bb01dfe@linaro.org> References: <20240424-smsm-mbox-v1-0-555f3f442841@z3ntu.xyz> <2729475.mvXUDI8C0e@g550jk> <1ab150cd-68f0-4153-8d4e-5bd30bb01dfe@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Montag, 20. Mai 2024 08:46:39 MESZ Krzysztof Kozlowski wrote: > On 15/05/2024 17:06, Luca Weiss wrote: > > Hi Rob, > > > > Any feedback on the below topic? > > Can be explained in description, like > mboxes: > description: Each entry corresponds to one remote processor > maxItems: 5 Hi Krzysztof Ack, sounds good. Maybe also from you, any opinion between these two binding styles? So first using index of mboxes for the numbering, where for the known usages the first element (and sometimes the 3rd - ipc-2) are empty <>. The second variant is using mbox-names to get the correct channel-mbox mapping. - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-2 = <&apcs 8 9>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <0>, <&apcs 13>, <&apcs 9>, <&apcs 19>; vs. - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-2 = <&apcs 8 9>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <&apcs 13>, <&apcs 9>, <&apcs 19>; + mbox-names = "ipc-1", "ipc-2", "ipc-3"; Regards Luca > > Best regards, > Krzysztof > >