From patchwork Sun Mar 24 16:32:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 160999 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020230jan; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeyggxq1p6/JfPDH9L1ChWOdb6ZHESy5wHQKbx3RACXCncqOSXOicyaTX3m5KYdVgmtVeI X-Received: by 2002:a17:902:a612:: with SMTP id u18mr20370039plq.145.1553445175422; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445175; cv=none; d=google.com; s=arc-20160816; b=unpxdLJ8nC44CAkLmNbOo/3NmtQsR8e6sNnJ2Iqf4JX76AL6eT0otJLG4iCDtGNF4S GIvCD2ItV+VgNbzpdKCVucPg41GwszPJW8NvYxhjb9ZfgaSdY332Cjs9BPWrW4gM0914 aL8FC4pSSVEXn8G5Ho2euquokrcgyWTEC3w5gqG8CTyqftbgsfSUyeOVGHtTV1L+k+O1 gp9MWXCK+bkSATSwP0oxB3tcOPqrPrwLcbbPzJVNTqYLnvDebBBJVb5ch/8w1YPEFRiS /v00Ii3JSHpjp1pVaeI1zlsjSIRiW7SuD2iA/+Q6u630tN45ybjSBpLHOwfv2OQWe4vU 1i6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UcrEsQ/5fUOw507gwx4MKNJCDz58oGIxd5kJrN7zf/Q=; b=tu5zHqF+KCRsvNwNk7AxSAp6TOltV+GHuOByGimk7gb5vgbIvWUXaAzyKPSaG1Lxi5 cOl+FnljDor4a4bFRi/v5tWgNCeRkSPoT6AShExuAsBEX3BZEcP1j/JuNAjHwbmS90O7 lAjnGGLofnNUFXmvsUvSoP4xVaEAfE/uT2Yo8VLTxT8o/+j1S7l/7cScLdJI8BO2U/Mh eoAv3eGmqp287Ve6cDYXwYjdk5lwEOB6fq/vIMgGFxHCuohdKGUE0YRK/zy/kXlKVAlH gyb6nKoR+GlSpDliuAm0bvtWoSFQZZAwoL9H4cn40UYhe881NULCBh61hsb+/QAhaMWM XZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0ugGkmpc; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e96si12357679plb.123.2019.03.24.09.32.55; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0ugGkmpc; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728763AbfCXQcy (ORCPT + 15 others); Sun, 24 Mar 2019 12:32:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:52304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQcy (ORCPT ); Sun, 24 Mar 2019 12:32:54 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9C7E32147C; Sun, 24 Mar 2019 16:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445173; bh=Zb0ZVpU/DagVHSNuQtQZTtYr8KpozDH1IszfBH7sEuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0ugGkmpc+LiivbYpP6/MBFAc3jtHYrwNI5+5L5lE5rpkO8xhOn41UNkfVtarafYgu W/5BZXeCj4OUYdKde99+q7g7htFy9kizdGAjI5DbqaO6ZffilMS8Hz1+kTjjvq4nYV kpbPhaSqN+TPzqpKHfrfyaqJl3Sv/RoROJS5JRbo= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Niklas Cassel Subject: [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Date: Sun, 24 Mar 2019 22:02:04 +0530 Message-Id: <20190324163209.17312-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the ethernet node found in QCS404 platform. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index e8fd26633d57..32f2f51bbf7f 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -479,6 +479,27 @@ status = "okay"; }; + ethernet: ethernet@7a80000 { + compatible = "qcom,qcs404-ethqos"; + reg = <0x07a80000 0x10000>, + <0x07a96000 0x100>; + reg-names = "stmmaceth", "rgmii"; + clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii"; + clocks = <&gcc GCC_ETH_AXI_CLK>, + <&gcc GCC_ETH_SLAVE_AHB_CLK>, + <&gcc GCC_ETH_PTP_CLK>, + <&gcc GCC_ETH_RGMII_CLK>; + interrupts = , + ; + interrupt-names = "macirq", "eth_lpi"; + + snps,tso; + rx-fifo-depth = <4096>; + tx-fifo-depth = <4096>; + + status = "disabled"; + }; + wifi: wifi@a000000 { compatible = "qcom,wcn3990-wifi"; reg = <0xa000000 0x800000>; From patchwork Sun Mar 24 16:32:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161001 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020341jan; Sun, 24 Mar 2019 09:33:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOrS7xToAnlrNlO/Hq4ABwVOVyxWYqb8OwOUxMwXwZ+uf8+15C/bdX42OiWr3WvKZCjboe X-Received: by 2002:a17:902:8c81:: with SMTP id t1mr20874029plo.309.1553445182982; Sun, 24 Mar 2019 09:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445182; cv=none; d=google.com; s=arc-20160816; b=A7Y79R2G4ck8CftMQrvM47DtKPtsp/fb5V3aUOIa/fNyRGSOZFcsXt6GFV2GaRHR2l GWq3sIw+u8ypwfl2Yy3fOQEk2kZpDm15gbFgdNu9zpi5I2OgBtxs8kgVJTPxUiBQzdb+ OchWBfLeIAtqhU0D3A58XFqumgrjK3O32v3sx4QYTBP8h3MDsAUBzfYkO5JbeJBhGYI5 NNpsMOzExWOYZCWGpVkcclFoEu4nAaNjBcaWOaIdjvoMQwOCxMq8Czbvs3mrRSGX3Qb1 7nkl0XrREaDciQcjpmn7U7lWNQatRl6Awm7+9B1Ge2kaDlk2QnCUTD2+q6y7kP6qHW1k KRrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kdRk5N8U6L5tTuK/sA6MA4Vn0MNcpHfTuz5GOl2zYQ0=; b=rt8MEUM1s6t6pGi8bt3jsPvhfcLNxGFr0+voOgrUY+MCzBC0VjKRV1CnWymGlb2f57 4FnITq4+0PKVWD0UOPCVtykjJCO6j4q3IDw3unglTpfnBqDvgTrL6juKvFZM0e96TxSB a4SMRNo2PL3IQQpqJKXXNmg/s04+/Zf80dhrKFOKPlpkFx7c2Cn9CN0XPwQoIunSEXwo rsJq+Gsk0dC8oK5VeW9V4z7LWWPwY2FPhLpgn9Dzh74K2b3ZLA8mCw91Hf+NIko+vfAx 8jk5wbbVd0RIJW+CZEWZTuNLYvDSOv1Kp0AktaVsy3em4g1Mz8jJvJVpEXq8yEi3yft3 HpyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PNVGwR3Q; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e96si12357679plb.123.2019.03.24.09.33.02; Sun, 24 Mar 2019 09:33:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PNVGwR3Q; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728801AbfCXQdC (ORCPT + 15 others); Sun, 24 Mar 2019 12:33:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:52362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQdC (ORCPT ); Sun, 24 Mar 2019 12:33:02 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50B942147C; Sun, 24 Mar 2019 16:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445181; bh=ceC0/bwbuj/INrahB1qRVkrv/V3OiEplBpYW9DmPwqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PNVGwR3QnmWLXBzUBdWjTb8vIJUm4kXWiIE/oalDeybt2+rZ5ii1DdYxLGL2lAD+U nGDFF63E3qTJOzS+fL2+4oe5259LUgGOi+0VwG9IbQTHkuYtFxIO0hRg2MKcwc4cvJ ziEfeF2ezSFP1BdBSybhUjHHPjT4xnDHXWNrc5jc= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Khasim Syed Mohammed , Vinod Koul Subject: [PATCH 3/6] arm64: dts: qcom: qcs404: Fix voltages for s5 and l3 Date: Sun, 24 Mar 2019 22:02:06 +0530 Message-Id: <20190324163209.17312-4-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bjorn Andersson PMS405 S5 was upstreamed without a voltage and PMS405 L3 is outside the acceptable range, causing PCIe to fail. Fix these. Signed-off-by: Bjorn Andersson Signed-off-by: Khasim Syed Mohammed Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 50b3589c7f15..323f9633084b 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -56,8 +56,8 @@ }; vreg_s5_1p35: s5 { - regulator-min-microvolt = <>; - regulator-max-microvolt = <>; + regulator-min-microvolt = <1352000>; + regulator-max-microvolt = <1352000>; }; vreg_l1_1p3: l1 { @@ -71,7 +71,7 @@ }; vreg_l3_1p05: l3 { - regulator-min-microvolt = <976000>; + regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1160000>; };