From nobody Fri Feb 13 17:33:16 2026 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 6C953194C7E; Thu, 18 Apr 2024 20:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472702; cv=none; b=hddVEUddi3KGfj2PIL7RQKI7fqv8yxgDbUDWqL65XS2JZvczdAojXti9zchu36hyfhrtvFZ8O0GfCRmPoXzVvqhudAL+QW+6oRlQFKM8OEl2l9oc/ea5tA7GDQtvZ4iT1O+VUtbJZx6RJEBTXZYp1ZmKhbmOAZa2KlZPvDbvu0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472702; c=relaxed/simple; bh=187YQzagItw83f6vADx4GNKdh6X9UWHJuAmasyW0jXg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oTpgh0h3vu4/5lt6MdmBCCAWgUA/Co5JvzEfKT9xdQqlKdheWx4bEsv4f0NT+SaWP71f6tDlOy66Cay7g/fbtNbTQGz24qWsgcvBZ2M9I9Urqo9Sw/FKHCdfUvpMzcYkgKe9dtMR3853MQdbowza/GlLsaH4UomPSs+gBHtJ4Bo= 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=edvqm8zZ; arc=none smtp.client-ip=209.85.167.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="edvqm8zZ" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so1634043e87.2; Thu, 18 Apr 2024 13:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713472699; x=1714077499; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ef1j03PzQot24D7wGKXztI5BpkUJmrRiVGjdQcRoP/A=; b=edvqm8zZUY0wup7vzOVm2pppQvNrUf9NyaCYnetJXs4jdwvvRvZWs9WXYmhiHLtHdC QzYOLf6sRcA+pFzUCTkvr+q7IfhudXy46+gvz11VGcemwry798D3KqtvavGAkUJIZToX +XHvziG5Nu3ombIvsXzOlso4z449j1khQfb6EiTY4jwjB3kI7O7R2B5O296QBneY3++4 Ngr0tvPmrH/2i8C159SspmpJGsBq6e0nqOiJ2ECfnajMEz7w9UGjez/prPtESiUfzVED ymx9h/4SkJBhy+1za11Nz7tyOCyfgcK+xuuGp/q4fHMdA11yLUHgVUWdxl8EdMwZY2ZS z/fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713472699; x=1714077499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ef1j03PzQot24D7wGKXztI5BpkUJmrRiVGjdQcRoP/A=; b=T/xVV6g+2PPl4bDg35MAouZI2e3hxf6VouUhRRM388bnBh21Am/yoQFg0nb+vmKEjZ LMVMoXjs2NHY1bY8gG78TTdP8ERQZKLaLd6FR3AeFDAtgIKisjoffaSOE4zWJ9OA7nU8 XhV5H/3kCdU/z9Gr+owstbI949DDrnOKDUMm7UanJ8mmIZNlJhWAhLDWTKCp1et4PGpm 90HhXPqdPShrX/e0KS2CmbORbyZXFEYkD5WWUq7Hvk8T0UBA6C/ieR2zBXwluw5s0aca Ac+MK42D5OwTJw38R+opK8RfrDV/H1I27R1H6JKPTBaIUPqpEJ851VoBu8zAwp6y9oAn 3JSQ== X-Forwarded-Encrypted: i=1; AJvYcCWtU0wjRvA/ASeaPsgz+1zUAP2aZjihdwRr3hHjvmZnkb61PxNdpkzokTs0liH/kvqxem7M4+JfX4gRnHUdXxB6hJFjpFh9ny1D+KYpi1Jo/xYGbIyXbmli5PpaMFxs5bCDdx6kRzXUGw== X-Gm-Message-State: AOJu0Yw5iEoyrlwUuGlUi7Gzik2kq9cyAbqWmSCmzxT3nEQ/eY6S7zTV Ga7wJN1CXzUmFBeXMq4gbY9Zb9uDgSEbOgJfqYeHmtsa7ACCemUL X-Google-Smtp-Source: AGHT+IFuUfTaQYJNQUWQD53YUOXbHss6h+ljXIMevbVCxM7rU+ASD0Lp3fuRW4KDMzSE3XGe604KaQ== X-Received: by 2002:ac2:430b:0:b0:51a:a400:785e with SMTP id l11-20020ac2430b000000b0051aa400785emr68649lfh.43.1713472698372; Thu, 18 Apr 2024 13:38:18 -0700 (PDT) Received: from lmc-playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id l21-20020a170906079500b00a473774b027sm1305649ejc.207.2024.04.18.13.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:38:17 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Liu Ying Cc: Laurentiu Mihalcea , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] dt-bindings: dsp: support imx8ulp dsp clocks Date: Thu, 18 Apr 2024 23:37:18 +0300 Message-Id: <20240418203720.8492-2-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> References: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea i.MX8ULP DSP node needs a MU clock, but doesn't need a debug clock. Change "clocks" and "clock-names" properties to allow for this case. Signed-off-by: Laurentiu Mihalcea Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/dsp/fsl,dsp.yaml | 51 ++++++++++++++----- 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documenta= tion/devicetree/bindings/dsp/fsl,dsp.yaml index 9af40da5688e..4a39d57b1cc6 100644 --- a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml @@ -30,22 +30,12 @@ properties: maxItems: 1 =20 clocks: - items: - - description: ipg clock - - description: ocram clock - - description: core clock - - description: debug interface clock - - description: message unit clock minItems: 3 + maxItems: 5 =20 clock-names: - items: - - const: ipg - - const: ocram - - const: core - - const: debug - - const: mu minItems: 3 + maxItems: 5 =20 power-domains: description: @@ -93,6 +83,43 @@ required: - memory-region =20 allOf: + - if: + properties: + compatible: + contains: + const: fsl,imx8ulp-hifi4 + then: + properties: + clocks: + items: + - description: ipg clock + - description: ocram clock + - description: core clock + - description: message unit clock + clock-names: + items: + - const: ipg + - const: ocram + - const: core + - const: mu + else: + properties: + clocks: + items: + - description: ipg clock + - description: ocram clock + - description: core clock + - description: debug interface clock + - description: message unit clock + minItems: 3 + clock-names: + items: + - const: ipg + - const: ocram + - const: core + - const: debug + - const: mu + minItems: 3 - if: properties: compatible: --=20 2.34.1 From nobody Fri Feb 13 17:33:16 2026 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 79E12194C91; Thu, 18 Apr 2024 20:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472704; cv=none; b=NRoz5q+da8cWPG4uwu4yIwaTL0ntXsqYoX4NpRmEzBuSeRn8yKliKZXAeYIMUe/O7c3+twh8+0Wl0eGsRdm1qpjSRWI+QJPbrkjigzGGBC7eaczibqE6JAgN59wGZzdAyiATUSdP8ifBn64bNDOBFIrgwsaih0Iob61Dnlx4XRc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472704; c=relaxed/simple; bh=l3v8uiGH9iMneTQKAJQigSsmEW/6PSJtsODaXuUHOxI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gtBmxxuvmysryS9kZ5vGqx9qU1w0eJtp71NrKZs+bsfrNgaKJBHd59iWBjIpiU9yBOeulmCcoJ7++w+N84e76SEGdXkfNG6ayKWKP/2zDtWvQbwnCX53xdo+y7G3kDrW9uQ4mrX/6PaJdBrC19vhbpEaVAYcajZN00uITO5VOUU= 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=XbZkmYTm; arc=none smtp.client-ip=209.85.218.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XbZkmYTm" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a526a200879so161769366b.1; Thu, 18 Apr 2024 13:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713472701; x=1714077501; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VpwB/CJEZck9aj444xbdNc4njqRLnc/SoD7JSsSXE4k=; b=XbZkmYTm2dpj1nC0JZzzvR7K+aC3cAON2w/6LCIIMRF+HV+Snp1vc8VM3k8IkddXR4 oKjvHYfoLbKGzu1ipLxkG2nGyqBHnbUHlfmnJOfrQqjJHEGOWQwRpgnrxW/JFxUxkv2v XVo7r12wwmgLyE1dg/knwx6IImx8SiRWCmPmAnILBLy8MpKFrMFu1GgT2ZK9MQTfNN2A JuliiLY65yw5+7VEwD+qcuOtJd2ctHrK+daorDGSaYXYrN88rw+VVQWzMtIv+HgqyNoj 90ZFUIKlBfG6NVEPcW2cKFZDkHM0s4+mUslROtLixKW9ozGeTdSqUHGQduGB1xN8ybqB BGNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713472701; x=1714077501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VpwB/CJEZck9aj444xbdNc4njqRLnc/SoD7JSsSXE4k=; b=luS/5qkYGOa1+ZUmSBUM3wjaP2LFMyjYMQ8wdI0fi1mnl9kkR2beqzY7o6rAVgk6y/ 0bOTSFzRfuI0HEfDmznwiNAZs0ZWy91Qs5L+d8/EtpxY25yg3vWWBY35Eke8ocBq43qs pTRTppF83YM4Mk6dOmUVl524ZGBpQm2IDXNZ/fc74l9QKroiIBMgXBjE6FNDYK1n0FDj wdZ/WyJxxUMti/SILryqUNW0LjUr3Re1XIWlh95F5caMiRcbOUNLndzFSp8R+LS403JQ /rlXxTtfiZyLiuDUb6EHtlSJKSDUvGrGyIz2L0d2tcSGuw93uVW81Vt0RIu5gAuz+2NF 1lwg== X-Forwarded-Encrypted: i=1; AJvYcCX2MG5e89cyYEIwPo+i/MYj1b1cpaWzO3QfkFc6BhZqLbYgJ4BOv1jnu73As3al0GjybEw4lxrKIHh2/JHWHY7BByTfVcaqFY0DFgSNIS/enzHEidfovxLZYJuiSAjHEL44gHKdW8BQvA== X-Gm-Message-State: AOJu0YyLKdLRlviUcMKp8s82W0T+AYqFM5GZ/BasoSRWCY8wbvnC3kGv nX50bLJVzq4P6vNfjlKZq95xPdlFFWlWbnRVjA51zpwEKbFS6qoK X-Google-Smtp-Source: AGHT+IHy3ebiIyjZ2dOdwO1gTQ1CoH9YGtMxf7V/6zF0j96aRPInH4QXAR7n/SqRIS6C1ntyLMb/og== X-Received: by 2002:a17:906:dc4a:b0:a55:635d:ddfb with SMTP id yz10-20020a170906dc4a00b00a55635dddfbmr145305ejb.3.1713472700682; Thu, 18 Apr 2024 13:38:20 -0700 (PDT) Received: from lmc-playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id l21-20020a170906079500b00a473774b027sm1305649ejc.207.2024.04.18.13.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:38:20 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Liu Ying Cc: Laurentiu Mihalcea , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] dt-bindings: mfd: add schema for 8ulp AVD-SIM Date: Thu, 18 Apr 2024 23:37:19 +0300 Message-Id: <20240418203720.8492-3-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> References: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea Add schema for i.MX8ULP's AVD-SIM module. Signed-off-by: Liu Ying Signed-off-by: Laurentiu Mihalcea --- .../bindings/mfd/fsl,imx8ulp-avd-sim.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/fsl,imx8ulp-avd-s= im.yaml diff --git a/Documentation/devicetree/bindings/mfd/fsl,imx8ulp-avd-sim.yaml= b/Documentation/devicetree/bindings/mfd/fsl,imx8ulp-avd-sim.yaml new file mode 100644 index 000000000000..4020c6e37f80 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/fsl,imx8ulp-avd-sim.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/fsl,imx8ulp-avd-sim.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ULP Audio-Video Domain System Integration Module + +maintainers: + - Liu Ying + +description: | + The AVD-SIM module provides configuration options for components of AVD. + +properties: + compatible: + items: + - const: fsl,imx8ulp-avd-sim + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + avd_sim: syscon@2da50000 { + compatible =3D "fsl,imx8ulp-avd-sim", "syscon", "simple-mfd"; + reg =3D <0x2da50000 0x38>; + clocks =3D <&pcc5 IMX8ULP_CLK_AVD_SIM>; + }; --=20 2.34.1 From nobody Fri Feb 13 17:33:16 2026 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 8CFC1199E8B; Thu, 18 Apr 2024 20:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472706; cv=none; b=sehMKlQdmjq5v2l2WA17B2XNciDMHNr9RT889ysOF4CVgO+vOovxSMAZ06n/CFJ6aZ5m+3gqeAXcUzbZNXdBurqVX7jVv/V6kenLbQipcknOLnT6SKJzjJbK4MQLbd5Hd1kBJCqhwAm/1I+4U3xUJWZucEGx1T3CfOQ8TCRI1vw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713472706; c=relaxed/simple; bh=IXsOSB48KhBFOf88YD8Blw+Mq+X3++0K3YE2RV82H3M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=i+ubhUx9R4hMIcqnP0OlWPnR7uoTQhRtEQ1BB+pe60+quOVfZ4Paye/Lx0wv9OiUNIhizHrr44Lmoyh3I9qq3oG5QWYyMPl+0JmcncMxM8U2X7O61fWHJSkQ3obCx74mFcTXLN/T/BNq+8Vh0kJ4r1O6FyeF0dZ7z+7T/Al02j4= 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=YeaMMQHg; arc=none smtp.client-ip=209.85.218.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YeaMMQHg" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a52582ecde4so121980666b.0; Thu, 18 Apr 2024 13:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713472703; x=1714077503; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7A9GTsxN8IunCYp1DUkY8RgJAa3KxxBOsbu5rncJB9Y=; b=YeaMMQHgSoYK8eiiUqWRCwQVO9h9/+vdk4P+HzU9+3PF2Nug/vmBanjR9jVxkRp4fj /XL4HPKTJ6IHsM/ra4LfrAz1A176WWlPLtZJooIGtyCmJxKsjWo0JucC5yKUz8pAp9Do d+QOr9I1zv1m+ptF6KWoyXXvCc9XbXq8g84qg/bm5sxr4Oqv82X5CAzfjlFO9aImYVAc U98qCvTc2QYHzmGXoEATvO6rvuBvukyYmkhn8J3TfcV/RZ50fs5wSzKzJcB7JGQlidV5 NyIlLXwOmxep1g+fcEgYXg041NXIejbDY+56vzuc1M+IbnFYhnJ/GakBkqdWcHLNztP1 wDMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713472703; x=1714077503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7A9GTsxN8IunCYp1DUkY8RgJAa3KxxBOsbu5rncJB9Y=; b=m7kKkfAcuEg70ZbjvsAp3ELpbQDVhG8ETVQLZYCNHThMDhv6dXJhXs5qHKovhDox/L UqXC8K0+EoW646QpsIBnX+0t+7u1ln4Wc5dQzlaF7r1/vOUyyJxWTtp3hu9DEVKeeaME R/snxTFoUCQjC2FqbTMYrSBHsF6h5/lLiXA2SUCsW3jyq8czHtjjDYjlOCTLYhzaOS+Q Hfucz6/wFvZY2NiZUhym2P4moOyt5NyK1+IRTb2C2m9PVznmoCCQoXzTbAmcrOXnS4hM rJv0uha/eF7i4Mbu0JVrzmxn1xflceGoQtfXw7P7YrPAwmCO/8t8+i65Y7RkE3ZKf8Di lPiw== X-Forwarded-Encrypted: i=1; AJvYcCWXZndWjs+Sh/ECwej2dDPDzsu1BmFLPi0kZmf2w7jsdcYJGPkSPhAUiJurugJlzNFn+mXzU3mLRg1mjK4KahH7MWFMwlX7hE74yLnpiVNz8tC2o5suJFgZ0V+4Hv2uqRpQyNKWNoJJGw== X-Gm-Message-State: AOJu0YzqtU4dhbuUhbFX15Ou9Jd6XOptiW615peS1KCgQf6wwHWCG735 ldhUqLufat0Z7fl0QtmphVfPhKVMjIptKo8s3tKWeDBAbIYdToN9 X-Google-Smtp-Source: AGHT+IGzLyE7VxWjZDABe7Un265onJx95a/vOFgpB1qchpktSO/egBKsgsmbcFgr7ax7wodqHkbROQ== X-Received: by 2002:a17:906:5f89:b0:a55:5ba6:ace9 with SMTP id a9-20020a1709065f8900b00a555ba6ace9mr165722eju.9.1713472702807; Thu, 18 Apr 2024 13:38:22 -0700 (PDT) Received: from lmc-playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id l21-20020a170906079500b00a473774b027sm1305649ejc.207.2024.04.18.13.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:38:22 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Liu Ying Cc: Laurentiu Mihalcea , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] arm64: dts: imx8ulp: add DSP node Date: Thu, 18 Apr 2024 23:37:20 +0300 Message-Id: <20240418203720.8492-4-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> References: <20240418203720.8492-1-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea Add node for i.MX8ULP's DSP core and its dependencies. Signed-off-by: Shengjiu Wang Signed-off-by: Laurentiu Mihalcea --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 39 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 22 +++++++++++ 2 files changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boo= t/dts/freescale/imx8ulp-evk.dts index 24bb253b938d..5dadcbba370d 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -67,6 +67,32 @@ vdevbuffer: vdevbuffer@a8400000 { reg =3D <0 0xa8400000 0 0x100000>; no-map; }; + + dsp_reserved: dsp_reserved@8e000000 { + reg =3D <0 0x8e000000 0 0x1000000>; + no-map; + }; + + dsp_reserved_heap: dsp_reserved_heap@8f000000 { + reg =3D <0 0x8f000000 0 0xef0000>; + no-map; + }; + + dsp_vdev0vring0: vdev0vring0@8fef0000 { + reg =3D <0 0x8fef0000 0 0x8000>; + no-map; + }; + + dsp_vdev0vring1: vdev0vring1@8fef8000 { + reg =3D <0 0x8fef8000 0 0x8000>; + no-map; + }; + + dsp_vdev0buffer: vdev0buffer@8ff00000 { + compatible =3D "shared-dma-pool"; + reg =3D <0 0x8ff00000 0 0x100000>; + no-map; + }; }; =20 clock_ext_rmii: clock-ext-rmii { @@ -95,6 +121,15 @@ &cm33 { status =3D "okay"; }; =20 +&dsp { + assigned-clocks =3D <&cgc2 IMX8ULP_CLK_HIFI_SEL>, <&cgc2 IMX8ULP_CLK_HIFI= _DIVCORE>; + assigned-clock-parents =3D <&cgc2 IMX8ULP_CLK_PLL4_PFD0>; + assigned-clock-rates =3D <0>, <475200000>; + memory-region =3D <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status =3D "okay"; +}; + &flexspi2 { pinctrl-names =3D "default", "sleep"; pinctrl-0 =3D <&pinctrl_flexspi2_ptd>; @@ -176,6 +211,10 @@ &mu { status =3D "okay"; }; =20 +&mu3 { + status =3D "okay"; +}; + &iomuxc1 { pinctrl_enet: enetgrp { fsl,pins =3D < diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/d= ts/freescale/imx8ulp.dtsi index c4a0082f30d3..99ed8c1ee57c 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -198,6 +198,22 @@ soc: soc@0 { ranges =3D <0x0 0x0 0x0 0x40000000>, <0x60000000 0x0 0x60000000 0x1000000>; =20 + dsp: dsp@21170000 { + compatible =3D "fsl,imx8ulp-hifi4"; + reg =3D <0x21170000 0x20000>; + clocks =3D <&cgc2 IMX8ULP_CLK_LPAV_BUS_DIV>, + <&cgc2 IMX8ULP_CLK_HIFI_DIVPLAT>, + <&cgc2 IMX8ULP_CLK_HIFI_DIVCORE>, + <&pcc5 IMX8ULP_CLK_MU3_B>; + clock-names =3D "ipg", "ocram", "core", "mu"; + power-domains =3D <&scmi_devpd IMX8ULP_PD_HIFI4>; + firmware-name =3D "imx/dsp/hifi4.bin"; + mbox-names =3D "tx", "rx", "rxdb"; + mboxes =3D <&mu3 0 0>, <&mu3 1 0>, <&mu3 3 0>; + fsl,dsp-ctrl =3D <&avd_sim>; + status =3D "disabled"; + }; + s4muap: mailbox@27020000 { compatible =3D "fsl,imx8ulp-mu-s4"; reg =3D <0x27020000 0x10000>; @@ -520,6 +536,12 @@ per_bridge5: bus@2d800000 { #size-cells =3D <1>; ranges; =20 + avd_sim: syscon@2da50000 { + compatible =3D "fsl,imx8ulp-avd-sim", "syscon", "simple-mfd"; + reg =3D <0x2da50000 0x38>; + clocks =3D <&pcc5 IMX8ULP_CLK_AVD_SIM>; + }; + cgc2: clock-controller@2da60000 { compatible =3D "fsl,imx8ulp-cgc2"; reg =3D <0x2da60000 0x10000>; --=20 2.34.1