From patchwork Fri Aug 2 10:18:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 170423 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp617296ile; Fri, 2 Aug 2019 03:18:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlz27HiOZATtjZDkUvwkFHs5V5uifFuwb383R4PbbrD17daXbXgLzygvlF+ahKl6eO7S6C X-Received: by 2002:a17:90a:2041:: with SMTP id n59mr3542013pjc.6.1564741120993; Fri, 02 Aug 2019 03:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564741120; cv=none; d=google.com; s=arc-20160816; b=J52ceOUPQ6D8cQNxfoy3LBk9AYjbpRUDhdnDm2XD7zHFG9Xa9iCkyixu+MSUbgDlEP 5cu39qhzjtpPqwxk6BrZH1vS+v8LWMHZzNMZwC6x6dehYJDh4SzrDlXTCxK/N5IlMFFa IlaqZJWk7jbbSlBlJWiUbj5VVitgAMyEll+Xku4aDffVhJEfOFT0jXD8WIW6hv7fGeGk Kn74hdG3kQ+k9riFhUf1mqIWq+GQLRFwqvW/D6gCtD5z3mX3tI+JNysMxb7Jz8WzMdpd 5GS3s9vDUw9v19r2Uc6XRrGTquvfTh/YZbDwzSxlFsYvmn2JlQantYKlwKFfWjMT7Iil jJTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=tt7ZwHog//aT+96fntmTlRV/eYTIyQYAJuD05o6SvqE=; b=XWu6V0SPdhJhAinr8BFF8QYaqOq4JTVSFWMCB07GUls6XTe673N9KIMCTjxs9obhnz AltcVuH/fYc6jJpc3w5Gcj6J83d/HsH7X0uNq/Y2Y+WnDr4ENSJNW0n6Udb+9Ub01eX3 nuB/Nw5ONAGMd8OeAFdVIbTbvv0KelbC23bC/stedsbepJazsBldTt5ugEqa+oMAJ+JJ g2bcPmOAzA/NV2cb2/6gJ+tigRaOwOMrhdIjSWjJpxDf9lxsm9M8xE2zn/ELlnxbKUoH kZsptk2G01tjDeQEoQ0hAQ+ruFvAJI6SWQhVGhN5Z4yixorGGsFm5ljVlUSvEUbM0ZA/ 62sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=BKivneFe; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z190si4488621pgb.182.2019.08.02.03.18.40; Fri, 02 Aug 2019 03:18:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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=@samsung.com header.s=mail20170921 header.b=BKivneFe; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389206AbfHBKSk (ORCPT + 3 others); Fri, 2 Aug 2019 06:18:40 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57844 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbfHBKSk (ORCPT ); Fri, 2 Aug 2019 06:18:40 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190802101838euoutp01b7550d6e34e8d19678b77a9329f08307~3E8G-vQkO2777427774euoutp01D for ; Fri, 2 Aug 2019 10:18:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190802101838euoutp01b7550d6e34e8d19678b77a9329f08307~3E8G-vQkO2777427774euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1564741118; bh=tt7ZwHog//aT+96fntmTlRV/eYTIyQYAJuD05o6SvqE=; h=From:To:Cc:Subject:Date:References:From; b=BKivneFet9Eej67aUSFNCJ2lxv5WaUKklqlklbevPz4GtlngzJJ5RkdRTs4MMVyzP 0uiFmdvnK+hXgEMKIwAUjdk4BZZeqJqcIHvP8IrviGTXOC8Li6xxhkiOAqge87n/8B cHvSbXq0GNC082+kNMcw+HHBHuk6M/TUyKlfmTzE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190802101837eucas1p2904da5438b0b34217bbeb8fbc79bc21d~3E8GmMZsZ0671406714eucas1p25; Fri, 2 Aug 2019 10:18:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 8A.60.04298.DFD044D5; Fri, 2 Aug 2019 11:18:37 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190802101837eucas1p148cc47e6eb2faa3d08ed245a67c11e77~3E8FuNEZQ1652216522eucas1p1Y; Fri, 2 Aug 2019 10:18:37 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190802101836eusmtrp11d2130774b40baf98e0460486536f5db~3E8FgOgdF1563515635eusmtrp1W; Fri, 2 Aug 2019 10:18:36 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-0e-5d440dfd9863 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5C.78.04140.CFD044D5; Fri, 2 Aug 2019 11:18:36 +0100 (BST) Received: from AMDC2765.DIGITAL.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190802101836eusmtip1ae4533333dc73fa644adaab04f981c33~3E8FNUYjX2621926219eusmtip1p; Fri, 2 Aug 2019 10:18:36 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] ARM: dts: exynos: Add port map to Exynos5250 AHCI node Date: Fri, 2 Aug 2019 12:18:21 +0200 Message-Id: <20190802101822.10131-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsWy7djPc7p/eV1iDS6f0rTYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSvj6sU+toJ+9opF 0w8zNTB+Ye1i5OCQEDCRaFrG2cXIxSEksIJRYkPnIyYI5wujxNvWDawQzmdGiblXtrN3MXKC dexsvswCkVjOKPG0eQcTSAKsZUGDD4jNJmAo0fW2iw3EFhFQlfjctoAdpIFZoI9R4vreucwg CWEBb4kvb46ygNgsQEWTJvYxgdzEK2ArceiKNcQyeYnVGw4wg/RKCGxgk5g16RwzRMJF4vqM mUwQtrDEq+NboK6TkTg9uYcFoqGZUeLhubXsEE4Po8TlphmMEFXWEoePXwSHALOApsT6XfoQ YUeJP9OamSEBwydx460gSJgZyJy0bTpUmFeio00IolpNYtbxdXBrD164BHWah8TM3WuZIWES KzH/zjOWCYxysxB2LWBkXMUonlpanJueWmyYl1quV5yYW1yal66XnJ+7iREY2af/Hf+0g/Hr paRDjAIcjEo8vAzPnWKFWBPLiitzDzFKcDArifD28TrHCvGmJFZWpRbl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ed245a67c11e77 X-Msg-Generator: CA X-RootMTR: 20190802101837eucas1p148cc47e6eb2faa3d08ed245a67c11e77 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190802101837eucas1p148cc47e6eb2faa3d08ed245a67c11e77 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Exynos AHCI (SATA) controller has only one port for SATA device. According to AHCI driver bindings (ata/ahci-platform.txt), if the bootloader doesn't program the PORTS_IMPL register to proper value, the available port map has to be provided by 'ports-implemented' device tree property. This fixes SATA operation on Exynos5250-based boards since Linux v4.5. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index d5e0392b409e..30f6f5c6bbcb 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -346,6 +346,7 @@ clock-names = "sata", "sclk_sata"; phys = <&sata_phy>; phy-names = "sata-phy"; + ports-implemented = <0x1>; status = "disabled"; };