From patchwork Sat Mar 23 16:09:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alex G." X-Patchwork-Id: 13600683 Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (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 307491EB34; Sat, 23 Mar 2024 16:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711210180; cv=none; b=aOUX0C1yxd+DLeLOXTxL5naxBxwB+1btG1Pklj4TRgTECLFIny5ihJC0FqrpP5XQj0DKCQxsENISgTLf43kMgUmOVbf2pcx6g6UhMmXk1UZ5UspTeZl7G+Yiarq8RYUTAIV1iBOaoA4X7jncEtx6dJGizHUrLJtiBDvaFn7A3Jw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711210180; c=relaxed/simple; bh=m6YKeaBWA9+eTPNBqpCMMtgAOFs8walsrBarhHMj2qU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=N3p9c/l9VIu3uhqS2/0nBjlne0T1v+K/cFF9PX/os9wdVTceHetZDPhb2cU9M67EiCtGBXAgmz0XD/e3i9EV1cepNmk49oq391vXRsMEp1ReJ/WvsdooUTRXONqrO0srm3hp+KXlcqpixtxLkFLFvAQfcD3y46mNJhRIi9NGjB8= 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=Rsub3pJB; arc=none smtp.client-ip=209.85.161.47 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="Rsub3pJB" Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5a5362ceb7bso213986eaf.1; Sat, 23 Mar 2024 09:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711210178; x=1711814978; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8UB+KuKZaFZgvy2nchrz2bMbfhDWrexGsWveT9dkxoo=; b=Rsub3pJBxeyKV5rBTqkAZIbNJ24EutaJRsfSD5mCS+lDzjclxT9HJdNLzVhOVf7ocZ XYQyrNEWGN3rBuTgF1cpBV/NOqYFGaK5MHg+rQYZIW7qMM2KOufp2itwuf62d+Nkxzuf 9RxM4MJialEDjXwHjFnUrUsu/c9GNeu8RZ1TeB8Z3kn1kUrfhSGXcbmzO6O1VjdMOJTy Y+PZ/+1Wd+6SSRB3j8rbdxAWaFijOZF8nNEZqhSjWC1PwseWcIAj3o1r0FLQXzl8JC9T Kk0S7ZW30Kcm4inUXb08XtZBPeuJ5IltwlPvymmd5y77G73FvLikp4FqmbwjDGT0Mx9E kzIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711210178; x=1711814978; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8UB+KuKZaFZgvy2nchrz2bMbfhDWrexGsWveT9dkxoo=; b=L4fyos2aJs44tgliDCKY3DJBcY8v7YwhJhfZVhikJDiD+FwOMdY7tIeDi5gopvPFiY WuJoLGZfvZVrSvwfkoVrnFUKtziWQxt703Mjf8XqDaUFc7oxbtvhHrNtBAJ2KbXzclnw LYYAjjxtgPHIgoJV09gfVlgsrrR0TfJ0OcHZnAPwXVockYj23aOmLeiqJPjh0A9DOgR+ 98QluwPn4EZee82MM3yuKFruYUl6xMZQcXOnSpInXxl3eKWAWXE2ga39mPwJVp8O3lCU S0qNma0ZFDpCwq0a42k0Yfi65nTMzRma888dX98hVIbKHo0HxHN5N54OB3j+p8TnJqOm EWQQ== X-Forwarded-Encrypted: i=1; AJvYcCUbltGJF6dUtMxQb4QYUR2oXSeobRwgDhHdRdMIUdPuZKNvzWsP6FJMAe7mzlSd/FKKFL40Gra5kzAli3va88O05q1A+Kodz4fKzvqKYFGB4WsI2i8QBPqsmkmxBofoXGE2xD3GrhuRr/0= X-Gm-Message-State: AOJu0Yyz4Cxtis9ZcRTvmEyLDZqLcLCDmP6yotiQ7Lx5ZCa6LPYg0TTH S++eFCmakicOIN7+vAeAsgudTMQtdwWGWmHLLk1yRIVmmc7j1nPR X-Google-Smtp-Source: AGHT+IGdwsXmXfNfxsZ4yAelTOh54VWGb+rpl+SHlqXRmNqizUUIYJ6ecjBnzA1kVCAFqqxW5YscqA== X-Received: by 2002:a05:6820:3086:b0:5a4:852f:4c08 with SMTP id eu6-20020a056820308600b005a4852f4c08mr2752535oob.4.1711210178271; Sat, 23 Mar 2024 09:09:38 -0700 (PDT) Received: from nukework.lan (c-98-197-58-203.hsd1.tx.comcast.net. [98.197.58.203]) by smtp.gmail.com with ESMTPSA id a4-20020a4aae44000000b005a4b2172e48sm738541oon.41.2024.03.23.09.09.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 09:09:37 -0700 (PDT) From: Alexandru Gagniuc To: andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, robert.marko@sartura.hr, ansuelsmth@gmail.com, Alexandru Gagniuc Subject: [PATCH 1/2] dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible Date: Sat, 23 Mar 2024 11:09:34 -0500 Message-Id: <20240323160935.2848095-1-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a compatible property specific to IPQ9574. This should be used along with the IPQ4019 compatible. This second compatible serves the same purpose as the ipq{5,6,8} compatibles. This is to indicate that the clocks properties are required. Signed-off-by: Alexandru Gagniuc Acked-by: Conor Dooley --- Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 0029e197a825..a94480e819ac 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -20,6 +20,7 @@ properties: - enum: - qcom,ipq6018-mdio - qcom,ipq8074-mdio + - qcom,ipq9574-mdio - const: qcom,ipq4019-mdio "#address-cells": @@ -76,6 +77,7 @@ allOf: - qcom,ipq5018-mdio - qcom,ipq6018-mdio - qcom,ipq8074-mdio + - qcom,ipq9574-mdio then: required: - clocks From patchwork Sat Mar 23 16:09:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alex G." X-Patchwork-Id: 13600684 Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) (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 C8A6145BE6; Sat, 23 Mar 2024 16:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711210182; cv=none; b=OsI9nRbCtbUkaSD/Yib3AlFPU+TsiplxADbn4/9JKSMSYwpekS6mQH3mE3O9kS36lPOlyov+Tk/k3Cl/GkZUzwLpi7uPkw0Mt/6CqiFwNhTw7gGAl9MCVYHLkpQf7f3H4Qa+MiIU8dtzJijKXxKUBDy/gy7K7o/wyypM9rNopjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711210182; c=relaxed/simple; bh=uotAOhcliSJrtYGXeo+exsDcCUCxgu+573x2YVcdnp8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Igzk9Z1uJoeXMcVABDmZjCnpS6X/3qjmN5tkl0QhaBP0AASYaJdH5xMoZzWz9r+wYWqhbk4eTVj8nwHHaplS4HHRy48BE8SWiEQIwcC17FqeRepXid8oWrfa/5IbxFpaEWfBPe96DKRQZ2WOsuVygJxfgsNA+n/bN3tPeJTG1qY= 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=FOBwvQY1; arc=none smtp.client-ip=209.85.161.42 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="FOBwvQY1" Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-5a4f608432bso1756315eaf.2; Sat, 23 Mar 2024 09:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711210180; x=1711814980; 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=MfWnKi3XkBpJ+D0PBN2uriZjmLLr+s0y6bK0oDzXkOQ=; b=FOBwvQY1YaKgVqgbMCGB4qMDVDhOVqLd9lwqegcToPJkZ4630SkPc7BNaXlrNBiHRt 79Chrh6506EXR66/n6oPbsMZLbrjLuyDbg8mEYAINjPq1nbflQzkGynfBnxWLolH/KqF o5diC2eWEjxH0qINSnpbEzQWZVXgDeWDzPOXHRdSaiOgpMScbQNd3Y3tClWL3keqd6OY rYccrtjwQVL3Bq+EzqB/fcmL7/dBWGPQBokTDrRpVG5d5FYtJyDj0cWq6BwqwfuRoola 3ZZZU0qW5+LbQf7AJUCL53s/LaoB6JmCsvLZsNuH8RR030Qzhfgv/EwhI6ZdHE7MEf3W 35fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711210180; x=1711814980; 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=MfWnKi3XkBpJ+D0PBN2uriZjmLLr+s0y6bK0oDzXkOQ=; b=T6wB/c36oW2G385l2SC2f8Zzkdngpsdvolx8Vpeolqbk51uio1VYBdvx0Nb1HI16UE 3v0j4GCROHUM6i4Y/qELlF0JBA2gPNl3v54baxtiV1N8xm56N5zO2F9cuXrd0ktIJtxx 18NIZjLj1n60OKtyrWZCMyencTXqSPV9llqiGdXHpj8zuWjzY1/D67maArfKMO2TYrhk d68BaxHEzemDJKFi+mqeDUDDIImSkM6jwstLeZVt+O4QWAIzLytIeEYFfvC1OeqTHiR9 JaZuezuO382eB9dp2fUG12GdZxvH6TphetAz/aEXdK8F+P/gUZRp6yL3WKvDnph36ePS BdzA== X-Forwarded-Encrypted: i=1; AJvYcCVuTB7HC6Ut+vJOp85ykCL9jIcfiwWNQl5kE6qP5ea3qGdCORZ16iAh33HsYt317Qdr32Gr+f8kvCK6VcbBcXH+10afJtljFtymzdN/SCLBHOHUxQ3V72MYsHDpTihBbesdDTSrHfozMAw= X-Gm-Message-State: AOJu0YzGrCKm6kDd3hFLGqwgvYHTc7eFuR5oLObO4oJApXh9X3/IEJAy FAAoC4poHSTS+AYsQtTq3ZyGjy2X+W2poPAp5z470bwn7UISrzaN X-Google-Smtp-Source: AGHT+IHnKICd6eQ08MBl3qIuOW5vkmBdfwH82arK41ExW8LxM20/g1/q+5+V7DKA43ltBe1KzY3x/Q== X-Received: by 2002:a05:6820:3087:b0:5a1:d2ad:ee36 with SMTP id eu7-20020a056820308700b005a1d2adee36mr2603709oob.7.1711210179916; Sat, 23 Mar 2024 09:09:39 -0700 (PDT) Received: from nukework.lan (c-98-197-58-203.hsd1.tx.comcast.net. [98.197.58.203]) by smtp.gmail.com with ESMTPSA id a4-20020a4aae44000000b005a4b2172e48sm738541oon.41.2024.03.23.09.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 09:09:38 -0700 (PDT) From: Alexandru Gagniuc To: andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, robert.marko@sartura.hr, ansuelsmth@gmail.com, Alexandru Gagniuc Subject: [PATCH 2/2] arm64: dts: qcom: ipq9574: add MDIO bus Date: Sat, 23 Mar 2024 11:09:35 -0500 Message-Id: <20240323160935.2848095-2-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240323160935.2848095-1-mr.nuke.me@gmail.com> References: <20240323160935.2848095-1-mr.nuke.me@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The IPQ95xx uses an IPQ4019 compatible MDIO controller that is already supported. Add a DT node to expose it. Signed-off-by: Alexandru Gagniuc --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 7f2e5cbf3bbb..4ab9da9fffb6 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -232,6 +232,16 @@ rng: rng@e3000 { clock-names = "core"; }; + mdio: mdio@90000 { + compatible = "qcom,ipq9574-mdio", "qcom,ipq4019-mdio"; + reg = <0x90000 0x64>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&gcc GCC_MDIO_AHB_CLK>; + clock-names = "gcc_mdio_ahb_clk"; + status = "disabled"; + }; + qfprom: efuse@a4000 { compatible = "qcom,ipq9574-qfprom", "qcom,qfprom"; reg = <0x000a4000 0x5a1>;