Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1358226/?format=api
{ "id": 1358226, "url": "http://patchwork.ozlabs.org/api/patches/1358226/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/3a39f6d6c559097534f8e3dab9f13de610fda9bd.1599343429.git.chunkeey@gmail.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<3a39f6d6c559097534f8e3dab9f13de610fda9bd.1599343429.git.chunkeey@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/3a39f6d6c559097534f8e3dab9f13de610fda9bd.1599343429.git.chunkeey@gmail.com/", "date": "2020-09-05T22:06:13", "name": "[v3,3/5] powerpc: apm82181: add WD MyBook Live NAS", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "f485432230d9a4e1a41f029296c25715eec2f7b1", "submitter": { "id": 72473, "url": "http://patchwork.ozlabs.org/api/people/72473/?format=api", "name": "Christian Lamparter", "email": "chunkeey@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/3a39f6d6c559097534f8e3dab9f13de610fda9bd.1599343429.git.chunkeey@gmail.com/mbox/", "series": [ { "id": 199750, "url": "http://patchwork.ozlabs.org/api/series/199750/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=199750", "date": "2020-09-05T22:06:11", "name": "powerpc: apm82181: adding customer devices", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/199750/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1358226/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1358226/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4BkTWx3GdKz9sSJ\n\tfor <patchwork-incoming@ozlabs.org>; Sun, 6 Sep 2020 08:20:45 +1000 (AEST)", "from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4BkTWx0pg6zDqjT\n\tfor <patchwork-incoming@ozlabs.org>; Sun, 6 Sep 2020 08:20:45 +1000 (AEST)", "from mail-ej1-x642.google.com (mail-ej1-x642.google.com\n [IPv6:2a00:1450:4864:20::642])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by lists.ozlabs.org (Postfix) with ESMTPS id 4BkTCn2MGYzDqgq\n for <linuxppc-dev@lists.ozlabs.org>; Sun, 6 Sep 2020 08:06:45 +1000 (AEST)", "by mail-ej1-x642.google.com with SMTP id m22so13057502eje.10\n for <linuxppc-dev@lists.ozlabs.org>; Sat, 05 Sep 2020 15:06:45 -0700 (PDT)", "from debian64.daheim (pd9e292e7.dip0.t-ipconnect.de.\n [217.226.146.231])\n by smtp.gmail.com with ESMTPSA id y6sm278590edj.50.2020.09.05.15.06.41\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 05 Sep 2020 15:06:41 -0700 (PDT)", "from chuck by debian64.daheim with local (Exim 4.94)\n (envelope-from <chunkeey@gmail.com>)\n id 1kEgKI-000FIr-RM; Sun, 06 Sep 2020 00:06:26 +0200" ], "Authentication-Results": [ "ozlabs.org;\n dmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=IqvX/RnA;\n\tdkim-atps=neutral", "lists.ozlabs.org; spf=pass (sender SPF authorized)\n smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::642;\n helo=mail-ej1-x642.google.com; envelope-from=chunkeey@gmail.com;\n receiver=<UNKNOWN>)", "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "lists.ozlabs.org; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=IqvX/RnA; dkim-atps=neutral" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=N+Vkdp0mEcq2IEncnbJf6rFZEGr/e9FOpe6bU8zEbsc=;\n b=IqvX/RnA5mBlG3iE8uZrZRTeXEu6l+L7c+tMzA5SEVFHZttOJ/F7zbxJaqUmqDs94N\n Du6BUiuqJlOkm7gVkgmcxYVMpeWffSV4O5k7PMwFwQseGrWzwrajBQNVdjbXvKjJ6i+L\n B5XR3nlUcZkQb3jXHtjmLcSzet6tKIEMjDfaXSQSgv8lmFcwdLkPTtAcP2bCCAZWQyz8\n m+h2crXdbVfx6MNpM5jqRWTDYLWXprP8MQFr3F9bOTwMflwAiTarFLZfb2uoarKUXdTy\n PvE1vCEQ1qwZ4I0uGenDX18rOr8OnSC2Lv4viQtFkjfo/XNwq5SRBNbN+8IcBulKunNh\n wJIg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=N+Vkdp0mEcq2IEncnbJf6rFZEGr/e9FOpe6bU8zEbsc=;\n b=oniUYrBkfpaYH26HfSDGusEWXalg2AUru9xsZiKm5uw9hhkL/oq4+NlqtPohjT9fK5\n 6lNjMELivD9AGz/AboYFAzxemZVysalNtchkYMqoF/PVkc0UYK7IFKGYzuo0112w9RJ6\n krOgqk7wDzi4SG2F24xLbl3vaaeoso0YlqgxIZKx02DlNlcFrqqaJCNNT+NatRDNMyhI\n 5kc7vcHrCc8q3IwVtkMQX4KiifI2VCeiZzPFIcv1m/LQ0/5rrCoSPqgfUh7Uduf4ebUF\n phCxB+/C+rLznOM/yn3qCOnZLWXCyR5dRNL1k3PqqhS5Y+iZ5Ioti2+TMFwK1rBmaiZl\n mEQg==", "X-Gm-Message-State": "AOAM530v1t59b+TujZL0qbbbX+FWKAZj2kScgSkVeeja9on6PSpw3SEK\n 2L2VgUn1rSMGbXTWoA9zcs/qXRnV8x8=", "X-Google-Smtp-Source": "\n ABdhPJx2so+u82pSbaUiBijVkoA1mA322dFjnJlbTBIIrPVTaIn/w7o4PN+LUtPFG2QKPch6vaEqLQ==", "X-Received": "by 2002:a17:906:af42:: with SMTP id\n ly2mr13437227ejb.362.1599343602173;\n Sat, 05 Sep 2020 15:06:42 -0700 (PDT)", "From": "Christian Lamparter <chunkeey@gmail.com>", "To": "linuxppc-dev@lists.ozlabs.org,\n\tdevicetree@vger.kernel.org", "Subject": "[PATCH v3 3/5] powerpc: apm82181: add WD MyBook Live NAS", "Date": "Sun, 6 Sep 2020 00:06:13 +0200", "Message-Id": "\n <3a39f6d6c559097534f8e3dab9f13de610fda9bd.1599343429.git.chunkeey@gmail.com>", "X-Mailer": "git-send-email 2.28.0", "In-Reply-To": "<cover.1599343429.git.chunkeey@gmail.com>", "References": "<cover.1599343429.git.chunkeey@gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Paul Mackerras <paulus@samba.org>, Rob Herring <robh+dt@kernel.org>,\n Chris Blake <chrisrblake93@gmail.com>", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "This patch adds the device-tree definitions for\nWestern Digital MyBook Live NAS devices.\n\nCPU: AMCC PowerPC APM82181 (PVR=12c41c83) at 800 MHz\n (PLB=200, OPB=100, EBC=100 MHz)\n 32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip Memory\nDRAM: 256 MB (2x NT5TU64M16GG-AC)\nFLASH: 512 kB\nEthernet: 1xRGMII - 1 Gbit - Broadcom PHY BCM54610\nSATA: 2*SATA (DUO Variant) / 1*SATA (Single Variant)\nUSB: 1xUSB2.0 (Only DUO)\n\nTechnically, this devicetree file is shared by two, very\nsimilar devices.\n\nThere's the My Book Live and the My Book Live Duo. WD's uboot\non the device will enable/disable the nodes for the device.\nThis device boots from a u-boot on a 512 KiB NOR Flash onto a\nLinux image stored on one of the harddrives.\n\nReady to go images and install instruction can be found @OpenWrt.org\n\nSigned-off-by: Christian Lamparter <chunkeey@gmail.com>\n---\nrfc v1 -> v2:\n\t- use new LED naming scheme\n\t- dish out read-only; for essential NOR partitions\n\t- remove openwrt led-aliases\n\t- comment on the location of linux kernel (on the HDD)\n\t- overhauled commit message\nv2 -> v3:\n\t- \"jedec-probe\" should be \"jedec,spi-nor\"\n---\n arch/powerpc/boot/dts/wd-mybooklive.dts | 200 +++++++++++++++++++++\n arch/powerpc/platforms/44x/ppc44x_simple.c | 3 +-\n 2 files changed, 202 insertions(+), 1 deletion(-)\n create mode 100644 arch/powerpc/boot/dts/wd-mybooklive.dts", "diff": "diff --git a/arch/powerpc/boot/dts/wd-mybooklive.dts b/arch/powerpc/boot/dts/wd-mybooklive.dts\nnew file mode 100644\nindex 000000000000..8fe868252cb5\n--- /dev/null\n+++ b/arch/powerpc/boot/dts/wd-mybooklive.dts\n@@ -0,0 +1,200 @@\n+// SPDX-License-Identifier: GPL-2.0-only\n+/*\n+ * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>\n+ * (c) Copyright 2010 Western Digital Technologies, Inc. All Rights Reserved.\n+ */\n+\n+/dts-v1/;\n+\n+#include <dt-bindings/leds/common.h>\n+#include \"apm82181.dtsi\"\n+\n+/ {\n+\tcompatible = \"wd,mybooklive\";\n+\tmodel = \"MyBook Live\";\n+\n+\taliases {\n+\t\tserial0 = &UART0;\n+\t};\n+};\n+\n+&POB0 {\n+\tGPIO1: gpio@e0000000 {\n+\t\tcompatible = \"wd,mbl-gpio\";\n+\t\treg-names = \"dat\";\n+\t\treg = <0xe0000000 0x1>;\n+\t\t#gpio-cells = <2>;\n+\t\tgpio-controller;\n+\n+\t\tenable-button {\n+\t\t\t/* Defined in u-boot as: NOT_NOR\n+\t\t\t * \"enables features other than NOR\n+\t\t\t * specifically, the buffer at CS2\"\n+\t\t\t * (button).\n+\t\t\t *\n+\t\t\t * Note: This option is disabled as\n+\t\t\t * it prevents the system from being\n+\t\t\t * rebooted successfully.\n+\t\t\t */\n+\n+\t\t\tgpio-hog;\n+\t\t\tline-name = \"Enable Reset Button, disable NOR\";\n+\t\t\tgpios = <1 GPIO_ACTIVE_HIGH>;\n+\t\t\toutput-low;\n+\t\t};\n+\t};\n+\n+\tGPIO2: gpio@e0100000 {\n+\t\tcompatible = \"wd,mbl-gpio\";\n+\t\treg-names = \"dat\";\n+\t\treg = <0xe0100000 0x1>;\n+\t\t#gpio-cells = <2>;\n+\t\tgpio-controller;\n+\t\tno-output;\n+\t};\n+\n+\tleds {\n+\t\tcompatible = \"gpio-leds\";\n+\n+\t\t/* There's just one tri-color LED. */\n+\t\tfailsafe: power-red {\n+\t\t\tfunction = LED_FUNCTION_FAULT;\n+\t\t\tcolor = <LED_COLOR_ID_RED>;\n+\t\t\tgpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;\n+\t\t\tlinux,default-trigger = \"panic\";\n+\t\t};\n+\n+\t\tpower-green {\n+\t\t\tfunction = LED_FUNCTION_POWER;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;\n+\t\t};\n+\n+\t\tpower-blue {\n+\t\t\tfunction = LED_FUNCTION_DISK;\n+\t\t\tcolor = <LED_COLOR_ID_BLUE>;\n+\t\t\tgpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;\n+\t\t\tlinux,default-trigger = \"disk-activity\";\n+\t\t};\n+\t};\n+\n+\tkeys {\n+\t\tcompatible = \"gpio-keys-polled\";\n+\t\tpoll-interval = <60>;\t/* 3 * 20 = 60ms */\n+\t\tautorepeat;\n+\n+\t\treset-button {\n+\t\t\tlabel = \"Reset button\";\n+\t\t\tlinux,code = <KEY_RESTART>;\n+\t\t\tgpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\t};\n+\n+\tusbpwr: usb-regulator {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tregulator-name = \"Power USB Core\";\n+\t\tgpios = <&GPIO1 2 GPIO_ACTIVE_LOW>;\n+\t\tregulator-min-microvolt = <5000000>;\n+\t\tregulator-max-microvolt = <5000000>;\n+\t};\n+\n+\tsata1pwr: sata1-regulator {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tregulator-name = \"Power Drive Port 1\";\n+\t\tgpios = <&GPIO1 3 GPIO_ACTIVE_LOW>;\n+\t\tregulator-min-microvolt = <12000000>;\n+\t\tregulator-max-microvolt = <12000000>;\n+\t\tregulator-always-on; /* needed to read OS from HDD */\n+\t};\n+\n+\tsata0pwr: sata0-regulator {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tregulator-name = \"Power Drive Port 0\";\n+\t\tgpios = <&GPIO1 7 GPIO_ACTIVE_LOW>;\n+\t\tregulator-min-microvolt = <12000000>;\n+\t\tregulator-max-microvolt = <12000000>;\n+\t\tregulator-always-on; /* needed to read OS from HDD */\n+\t};\n+};\n+\n+&NOR {\n+\tstatus = \"okay\";\n+\tcompatible = \"jedec,spi-nor\";\n+\tbank-width = <1>;\n+\treg = <0x00000000 0x00000000 0x00080000>;\n+\t#address-cells = <1>;\n+\t#size-cells = <1>;\n+\n+\tpartition@0 {\n+\t\t/* Part of bootrom - Don't use it without a jump */\n+\t\tlabel = \"bootrom\";\n+\t\treg = <0x00000000 0x0001e000>;\n+\t\tread-only;\n+\t};\n+\n+\tpartition@1e000 {\n+\t\tlabel = \"env\";\n+\t\treg = <0x0001e000 0x00002000>;\n+\t};\n+\n+\tpartition@20000 {\n+\t\tlabel = \"uboot\";\n+\t\treg = <0x00020000 0x00050000>;\n+\t\tread-only;\n+\t};\n+};\n+\n+&EMAC0 {\n+\tstatus = \"okay\";\n+\n+\tphy-map = <0x2>;\n+\tphy-address = <0x1>;\n+\tphy-handle = <&phy>;\n+\n+\tmdio {\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\t\treset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;\n+\n+\t\tphy: phy@1 {\n+\t\t\tcompatible = \"ethernet-phy-ieee802.3-c22\";\n+\t\t\treg = <1>;\n+\t\t};\n+\t};\n+};\n+\n+&CRYPTO {\n+\tstatus = \"okay\";\n+};\n+\n+&HWRNG {\n+\tstatus = \"okay\";\n+};\n+\n+&SATA0 {\n+\tstatus = \"okay\";\n+\n+\tdrive0: sata-port@0 {\n+\t\treg = <0>;\n+\t\t#thermal-sensor-cells = <0>;\n+\t};\n+};\n+\n+&SATA1 {\n+\tstatus = \"okay\";\n+\n+\tdrive1: sata-port@0 {\n+\t\treg = <0>;\n+\t\t#thermal-sensor-cells = <0>;\n+\t};\n+};\n+\n+&UART0 {\n+\tstatus = \"okay\";\n+};\n+\n+&USBOTG0 {\n+\tstatus = \"okay\";\n+\tdr_mode = \"host\";\n+\tvbus-supply = <&usbpwr>;\n+};\ndiff --git a/arch/powerpc/platforms/44x/ppc44x_simple.c b/arch/powerpc/platforms/44x/ppc44x_simple.c\nindex 3dbd8ddd734a..1122702c804a 100644\n--- a/arch/powerpc/platforms/44x/ppc44x_simple.c\n+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c\n@@ -59,7 +59,8 @@ static char *board[] __initdata = {\n \t\"amcc,sequoia\",\n \t\"amcc,taishan\",\n \t\"amcc,yosemite\",\n-\t\"mosaixtech,icon\"\n+\t\"mosaixtech,icon\",\n+\t\"wd,mybooklive\",\n };\n \n static int __init ppc44x_probe(void)\n", "prefixes": [ "v3", "3/5" ] }