From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f12.google.com (mail-pj2-f12.google.com [74.125.227.140]) (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 4EDAD5650E7 for ; Wed, 23 Sep 2026 15:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790177447; cv=none; b=MSnVWgtofYfqMVGoPOuEg9eIGiHczG2TPHOD7EmH4b3I4IudNyBHFok5bAF6qrsXWMCmsfoE4Yavr9yqU7KBSy4CrS4+0RMo0Czabova2CF70TF7qYEGWrdNVJmfUyNTRU+QzJk1IpyQRbZDpqVdQ2arMnvfY+5aTrlT+JkAn64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790177447; c=relaxed/simple; bh=1vmm0wkc2HkHONRH8pVcOgqdwW78+bTinZ2FzAKmk3c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bwLy6oP6DcK8I0o++UEZF/7CCyWbmQrvz8z2CAp4yGoosRCXImzRkZbWg8MsU1uGgqgp7oxTy2Qdc+/emGHWF06EYUrhCd/OmWSfqzxsucLnEdWROJHzJBYPmMsC9DGP5k3ddylKrl41VGgGoFuIeMEU3+TSVJ3VD5DyUj8ah2M= 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=U+rRjNcm; arc=none smtp.client-ip=74.125.227.140 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="U+rRjNcm" Received: by mail-pj2-f12.google.com with SMTP id 98e67ed59e1d1-39dacf053eeso613380a91.2 for ; Wed, 23 Sep 2026 08:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1790177437; x=1790782237; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=W4AqH3BG39Ccw9rat1s2LDjmKzSlLDWMcVufSeoX/Lk=; b=U+rRjNcm7ugzc5Soz10jkunYElefyJ/mmDKlhLWKxx6z11zYyaHFhhSoYKfXPKWBFw 27xgR+M2sA6H2ZWxkjODi5uha64syM1YHfvjc6sczDTfgx/+9+bAmL/LLTQGX2im1r24 vnbBTToGn5eTvwUOy0ufX/Y9l8EbodyBTpgTAYpNBr8tNrl80i8S6OmUfpvYK9QXlPUZ K40XB5d98svdxNzLOY1cjwqKXKjYZaYzBsmQx00jERdfe9HVzCgLQ6c4ydWL4cFWEZT2 3a3N22hOtj6qhEGw0unwpMeGCo2sSv68PYITFdMGaA174wdpTQhDtvyvnggx+37Z/bAW 7AsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790177437; x=1790782237; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=W4AqH3BG39Ccw9rat1s2LDjmKzSlLDWMcVufSeoX/Lk=; b=BhAVB3N1dnkYxuBs9jJeKY2fx7SOx/4pSsGNPV2+r6/rX+pDSKP+9rJ5pWY64ZPAMO 0WK4quZzC3VREElompO9rQ5DyLA9ImSP6vE9dqmBYAvXq1+/pdUJp8l5HpYOvFM/b1AT txYBG6AZJSIgDqDqDPk31j7AD4PxpwQkToiLkVDZIP+SE/Pkhy0S/XiQvtqv3ffzfM1w I+Wc2GPPeOPjIbAnNSD5TJPjjgkc2SJvM2Go0vPqHscUBmcEgZ0Y5JhnKDwY8B1xyl5L 0Lys42nh5veTd8lRmSueRo/O2Z8eFZjSTWS4zVItCO8LpWaCMymypdCqdLoD/2Zb1SU2 UlYA== X-Forwarded-Encrypted: i=1; AKwUvBzWmQuEswbcQP91wwF5P0E7wmAqmEVtV9zVe9FkRAu2KQ/B4RlBe6Dje8A0tq7BXGofadsuXTNAAD4y@vger.kernel.org X-Gm-Message-State: AFuF++lybXDDbuN0tJkDBjiTeEGFBUaM1wMuzkhw9HZHIyboyIL/SdAP GzLznY7ZzghveBE99cDSG06QXo++grNHDgfmqa+iC3rU6xVyXnPAgflCCfVyW89Ep4Q= X-Gm-Gg: AYBFou0NcK4vkDACzEqaUNfwVCBtxQsEV898MHG0q1TzBoj2mFbSDjy66E4AOORVJVp 28CQKMNGf/Ie+lzhVTdWPrReLfe6oZiQXlQC72FSqQEknF+HN+ODgkbwrCCPfSzPy8WrGFLs4e4 fUA4ef2BEvW2YLB0InPW7vQ2uRvctnQzAV5Hvs8fA0XDv59OPA6bOI9oF/VgYj94b8uBiiivX6n Ku/aLVzOZ0w7Hxo8gl6ihaNSpZX2liUnOB2YV69Qhu99ES87LrW2in0GL8tlH2+IAProFiyPOZJ Dmtbr0qg+WINWLQJg+O9qlOC55mh9BxauMa4UgnosEtuMS0Jax3E4K5ZnIdYbaugCEvz2wztdfm raJ/HTmzPLfMQRFlUvGIgKoZMNY1vfNfsjACQnHLGzRnYOGqoDwPLYHc/Na85nv191sUJz4NeK5 jSCv92NHSoDw27WoINyUrEpM734tz3mynBlLIGDoLP0bN3E0EwzSZ+2Ea8SPExYBVmE7pNPjY= X-Received: by 2002:a17:90b:4d0e:b0:39e:6a7e:ee19 with SMTP id 98e67ed59e1d1-3a07e6540e2mr2620920a91.37.1790177436748; Wed, 23 Sep 2026 08:30:36 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:b4a:dc6a:68e:2592]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a07ddf1cf3sm5652074a91.9.2026.09.23.08.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 08:30:35 -0700 (PDT) Date: Wed, 23 Sep 2026 09:30:33 -0600 From: Mathieu Poirier To: "Rob Herring (Arm)" Cc: Bjorn Andersson , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] dt-bindings: remoteproc: Fix MT8188 SCP regs Message-ID: References: <20260921232520.3127457-1-robh@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260921232520.3127457-1-robh@kernel.org> On Mon, Sep 21, 2026 at 06:25:19PM -0500, Rob Herring (Arm) wrote: > Allow single-register MT8188 SCP dual nodes with only the cfg > region. Keep two-register and three-register requirements for the > other MediaTek SCP variants that need SRAM and L1TCM regions. > > Assisted-by: LLM > Signed-off-by: Rob Herring (Arm) > --- > .../bindings/remoteproc/mtk,scp.yaml | 22 ++++++++++++++++--- > 1 file changed, 19 insertions(+), 3 deletions(-) > Applied. Thanks, Mathieu > diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > index bdbb12118da4..2f0a28c7a24c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > @@ -28,11 +28,11 @@ properties: > description: > Should contain the address ranges for memory regions SRAM, CFG, and, > on some platforms, L1TCM. > - minItems: 2 > + minItems: 1 > maxItems: 3 > > reg-names: > - minItems: 2 > + minItems: 1 > maxItems: 3 > > clocks: > @@ -171,6 +171,7 @@ allOf: > then: > properties: > reg: > + minItems: 2 > maxItems: 2 > reg-names: > items: > @@ -185,6 +186,7 @@ allOf: > then: > properties: > reg: > + minItems: 3 > maxItems: 3 > reg-names: > items: > @@ -195,17 +197,31 @@ allOf: > properties: > compatible: > enum: > - - mediatek,mt8188-scp-dual > - mediatek,mt8195-scp-dual > then: > properties: > reg: > + minItems: 2 > maxItems: 2 > reg-names: > items: > - const: cfg > - const: l1tcm > > + - if: > + properties: > + compatible: > + enum: > + - mediatek,mt8188-scp-dual > + then: > + properties: > + reg: > + minItems: 1 > + maxItems: 1 > + reg-names: > + items: > + - const: cfg > + > additionalProperties: false > > examples: > -- > 2.53.0 >