Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp716059rdb; Mon, 29 Jan 2024 16:36:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpZq0rIwl7OWkOGCWbZhz/ufmJbsw71FtPpHy80TeVvDJl1LKuAv/gJeuURnU0K/z4BvVr X-Received: by 2002:a05:6402:27cc:b0:55e:ea35:19f5 with SMTP id c12-20020a05640227cc00b0055eea3519f5mr3474963ede.27.1706574993134; Mon, 29 Jan 2024 16:36:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706574993; cv=pass; d=google.com; s=arc-20160816; b=hqty/stG/HvsbQpt2l8CQYQQJFqL6u2Vrg+rwJiMC/8Fw5o4Ah12alTIUd8O6kzTLB R2JQF9q+HP0YCa3vkBW8QjGAgsVAq9Rqvxpq0RykZCpifdtd+e5S5ZH4fynBt2+7KK9k pseQyhXV8aW7pwDPvnanF0x2jpBfkRqMAbtHHYyc8sYsey5+U8O3t3oM8o1zOBwuZK+c Q3AmLl0DqL9/070Y3f7R3u9t4dKAyvZ/u83FlX/FhdSNz4RirbkkH59YL6lfZam+RLGg LvsEX4ewsfR0BNm4kKAUKIxJSzCxuPd/8YRAwTRqnSkU0CONBd+OuAEc8WYhO4CVPqaF +qvQ== 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=t1kG9myj9Lva9ka/USySAgGs9YBQNCRf+gxiz/F3DH0=; fh=cQ7XA3MYQ9nsuIQUoAwOGxcdk1xJQL7zXSk9w8uvCAc=; b=a07YO9Dnl6PVD8gn2dBY1aqne8ix3q0h78UopGhvNmWSVGPbyZqU6zZ3QLwh6puLp1 C34/4mpLYUPNMUiS36OIyk6RsyhNFSDkDSZR5s0BYvidXy5OQV8+uClrX0/j2Z4muYiZ WceAeCU2tNGcMa4AlLcArmdP67GyiULsF0sHbTIn1QuJva11dMR2YTt3XlLhtVT9Ctg5 z20Xpfp9lKLXy8w5a5VXna8M8ioTD3vbH4wRnmuqTi1Z3vC0uMTVvRFE11XYcXo2BfUU Di7eMWks3rRnycl3ZRa6OtvChKnyShlkRrcT7TKl/fKfr/soKAaY+0XVg5L3gInb6FVL Nx5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b8Mu22Ys; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-43675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ef15-20020a05640228cf00b0055a092f8314si3982582edb.286.2024.01.29.16.36.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 16:36:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b8Mu22Ys; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-43675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id AF7A41F238CE for ; Tue, 30 Jan 2024 00:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B28433CE6; Tue, 30 Jan 2024 00:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="b8Mu22Ys" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.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 50C2D14F70; Tue, 30 Jan 2024 00:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706574966; cv=none; b=SPjh4tPBDhZJ2Sd81cmM+mZ2px8JiqJmzn/9KgpGHYzldClrLBtqWyr6gF/ka1A0ItIXNrP1mKEnFS56/pRMGvCk6dIkaixDtzYOfdP4T9Ki2AdMf2DxSpdz0tl4i3mJo/X211Y2jDpsfoLnkAaJmag+Nofqpnwqe6cIKYEFxgE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706574966; c=relaxed/simple; bh=ye34zMbl/QLi0u3MaSPXOmlJeFl9PUpZ9o0/z8YiMNU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B5PCROH58CGEl7Li7yoRKhUI44v854lGtzOTd6akgnd+K/hk97fzDRl/wSi4j8kVlS35x8UiwyXC/oUYDLc708W5tuTpuumA7SJnVT4uTn7GsfKKV1bGGI9u56SPOqnwi+PMdaa2W8+PYKgxbh6XzG07lNcyEVBAIYcpl6YWqhw= 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=b8Mu22Ys; arc=none smtp.client-ip=209.85.221.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 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33ae3154cf8so1623605f8f.3; Mon, 29 Jan 2024 16:36:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706574962; x=1707179762; 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=t1kG9myj9Lva9ka/USySAgGs9YBQNCRf+gxiz/F3DH0=; b=b8Mu22Ysa7M7UXc3j03as7cABv+7Ys041fbHaPq9yeb7qhqB+swelK1Oedd1iy/Ffs 2lxuGsOCFOOsUz3PbU3hOhsWijHWusOhAcn+eMOt5LbdMSPXrqQqthDNeGeLfVD6zSz9 atnq0zDn28JbE9LhPovRCTLjxK6iX+y+EqajJ+vRmamm/ZcvrDYt22rFIozMhLLnia0C RWHhiCGPM0G6YRYux/vNsTGGOwhlgSfnJIfK9N3LlAyzcjAlhoTdamIMAE00iBW9Q4ft qyLEq2qAbgOQqcgM3VBN0I+A0nwBMI/pytnpiRixb6bGpVTaTQ6vCGTL1PjW9yVsxZcm EDyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706574962; x=1707179762; 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=t1kG9myj9Lva9ka/USySAgGs9YBQNCRf+gxiz/F3DH0=; b=sYKJkdWNBTeFzQElo7cYrpPdXZcsctgHY5AzKWO6dkg+LuSYaK6hXsmQj0PIDtL4ZE 9635AtgTabLmNgKen4wDy+8e59gQDg7j6r/yNYnKUUulveys3fAHV2pAxyBztDos0A/q 1ps6DIyD/h/k+HY4TIaLkrnD/YixW4ybFpIVfa66qz7u6PbEkfwJG00feEZt916taNwq CD0FZMhs32pmmpsNRLXbhXwSVGCRi7rdhdN4vltk95JNiZRiDQzlxmDDnyxTd9+kwIiX ieUssrWciLdpzT7mtViBc5/ONH5fst+AYLKUgOjGAPghzEbFxYZJ+Sm7FEWR332JDQiV X2+A== X-Gm-Message-State: AOJu0YxTGeAT9g5GaH+IC2+dGJDiTrk10uePDwvjCVlTe4rGfs7Cpd9r kfNLjhLjvwXgsMihgqJ7xB5CpRzKjfGVkRcXjvGy02BTrJ/i1LDT X-Received: by 2002:a5d:51ca:0:b0:33a:ee39:5b4a with SMTP id n10-20020a5d51ca000000b0033aee395b4amr3110196wrv.36.1706574962304; Mon, 29 Jan 2024 16:36:02 -0800 (PST) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id l10-20020a056000022a00b0033af350fb88sm2542167wrz.25.2024.01.29.16.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 16:36:01 -0800 (PST) From: Christian Marangi To: Andy Gross , Bjorn Andersson , Konrad Dybcio , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Heiner Kallweit , Russell King , Robert Marko , linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jie Luo Cc: Christian Marangi Subject: [net-next PATCH v2 1/3] dt-bindings: net: ipq4019-mdio: document now supported clock-frequency Date: Tue, 30 Jan 2024 01:35:20 +0100 Message-ID: <20240130003546.1546-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240130003546.1546-1-ansuelsmth@gmail.com> References: <20240130003546.1546-1-ansuelsmth@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: 8bit Document support for clock-frequency and add details on why this property is needed and what values are supported. From internal documentation, while other values are supported, the correct function of the MDIO bus is not assured hence add only the suggested supported values to the property enum. Signed-off-by: Christian Marangi --- .../bindings/net/qcom,ipq4019-mdio.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 3407e909e8a7..0029e197a825 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -44,6 +44,21 @@ properties: items: - const: gcc_mdio_ahb_clk + clock-frequency: + description: + The MDIO bus clock that must be output by the MDIO bus hardware, if + absent, the default hardware values are used. + + MDC rate is feed by an external clock (fixed 100MHz) and is divider + internally. The default divider is /256 resulting in the default rate + applied of 390KHz. + + To follow 802.3 standard that instruct up to 2.5MHz by default, if + this property is not declared and the divider is set to /256, by + default 1.5625Mhz is select. + enum: [ 390625, 781250, 1562500, 3125000, 6250000, 12500000 ] + default: 1562500 + required: - compatible - reg -- 2.43.0