From patchwork Tue Jan 8 16:55:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10752487 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD25913B4 for ; Tue, 8 Jan 2019 16:56:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB28D26E3C for ; Tue, 8 Jan 2019 16:56:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EFFF28DC1; Tue, 8 Jan 2019 16:56:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 456F226E3C for ; Tue, 8 Jan 2019 16:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728944AbfAHQ4e (ORCPT ); Tue, 8 Jan 2019 11:56:34 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33652 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727764AbfAHQ4L (ORCPT ); Tue, 8 Jan 2019 11:56:11 -0500 Received: by mail-lj1-f193.google.com with SMTP id v1-v6so4027076ljd.0; Tue, 08 Jan 2019 08:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jAEXFJkBZ3UVZneEhxEUAboaTpH0jjDGy7Sznxt2tMw=; b=A31b7aW85KjLT5S9fD0JOkn66FArIYgUEAabFdE0BoN9HbQ8YiOMGC94Vr8Y67UX6l 9DUzAaBI9h+fIB6qQRAe8EuyrBdbBKq27+ul+2Z/oyyzd/MTmbOj8KKleRoswwKwGLp/ cBO2ys1ru3VcFD9f83yRSvq4ifNMlHxsrkExSK5gnoIPqEStYlnYlqbF1O5SArVHv/33 WZW1bFFEiIotYNftF1E+bVcya4NvX1thwEpU8fNNpazh8SOp27MRmtvHNGKEdVwxj/kp bMsL/fX6w+Eymu5SOXR4nA+URpj//lG1LwONM0XajRMcTV2/OwGotwYZpyYhkYl1q0N1 qqgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jAEXFJkBZ3UVZneEhxEUAboaTpH0jjDGy7Sznxt2tMw=; b=JoIarZj8wWGOYpLdnwczyVPtVRsZhS5nV6TwcFr75I2LsNqjx1CpuABnZVI6hE3k8n qIvSOhgJFbVW0JaoJc2T1KcBxJtudDpqLPGGGn4EFI1jzSxz2neYhS8+pIpJxKf6Tm6+ apzk5LaiaTExxSVNubQEN/GelNVaAEK9bFfuUD4wC/RaIJ072CnTr8IwGt8oIXT8KsZG fTrH4U8Hx1YXcBUxd9ZkDrsvOSEVEgdi9+cPDslxbfZwLZUUMnyv17mqvzN10NFS/KrP ZgIQlBzBhDAU4FJxQhnbVb5dcJ0j/1hh47XASbDxCC9hk3NS6/UPYSoAdsVXxO8wytTm L1CA== X-Gm-Message-State: AJcUukfo/MxoDPDAzZJy07Hpz+QyDXC094YXEWe7JUCQVMvyQndSvA7F GuYlBgS0MMTxOmO2FEnaXRU= X-Google-Smtp-Source: ALg8bN7vWxUp46zVTLsiadiH8y0zquk4m8rzMk8e+zfqwL/X/eTuBX6xuma+zuTHUhLZSUJjIV1rlA== X-Received: by 2002:a2e:45d:: with SMTP id 90-v6mr1524269lje.110.1546966568574; Tue, 08 Jan 2019 08:56:08 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:d033:e708:8ec7:810d]) by smtp.googlemail.com with ESMTPSA id f8sm14687989lfe.72.2019.01.08.08.56.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 08:56:07 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: krzk@kernel.org Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] ARM: dts: s5pv210: aries: Add reserved memory for mfc Date: Tue, 8 Jan 2019 17:55:58 +0100 Message-Id: <20190108165601.25708-2-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> References: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP THis commit adds memory reservation required by MFC to run. On S5PV210 both regions needs to be on separate memory banks. Size of both regions is taken from stock sources. Signed-off-by: Paweł Chmiel --- Changes from v1: - Fixed name of nodes to be more generic --- arch/arm/boot/dts/s5pv210-aries.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 575094ea7024..89525e56cc7c 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -23,6 +23,24 @@ 0x50000000 0x08000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mfc_left: region@43000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0x43000000 0x2000000>; + }; + + mfc_right: region@51000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0x51000000 0x2000000>; + }; + }; + wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; @@ -329,6 +347,10 @@ status = "okay"; }; +&mfc { + memory-region = <&mfc_left>, <&mfc_right>; +}; + &pinctrl0 { wlan_bt_en: wlan-bt-en { samsung,pins = "gpb-5"; From patchwork Tue Jan 8 16:55:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10752483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80713746 for ; Tue, 8 Jan 2019 16:56:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FD9B26E3C for ; Tue, 8 Jan 2019 16:56:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 642D228DC1; Tue, 8 Jan 2019 16:56:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F32F326E3C for ; Tue, 8 Jan 2019 16:56:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728615AbfAHQ4N (ORCPT ); Tue, 8 Jan 2019 11:56:13 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:39544 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbfAHQ4N (ORCPT ); Tue, 8 Jan 2019 11:56:13 -0500 Received: by mail-lj1-f193.google.com with SMTP id t9-v6so4012544ljh.6; Tue, 08 Jan 2019 08:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qm3kH8GLO1p5FL1um7ZtOZvte6VCmWdydXR6NoeZ7Es=; b=PTARVH//VPLb0I7s9ocf3yJDeoJ04KDwRavID8/SLagPu12NsGewW+ABBZ6oHvJTSD 91D4Ccl8o6lvT4vrtcTFs+CJTlKHItURlb7tpgZnWGYRgsGRPLmaReJfOdFEufZrs68w nyFj7U7QC83xEVwh2xePFImRJNo5fA2jL4dJ+VWFx8RQqNBt9RUa8dhW65PPjlG/ZffE kYR+fk6XHXwYdr8HGhf6ezATOPewu9dEkOcvAVQAtv4Ki6vdXEKLVXzKCAwWSrcnJkzW r0UKOFPBkgB5iViAH8GmQlI7ynH7P4MR0YPPB7lBjlNCpIwPVTgTeqBTr7oDA5c84N0O d71w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qm3kH8GLO1p5FL1um7ZtOZvte6VCmWdydXR6NoeZ7Es=; b=ALIWJveKmaIX4PFnqp3cH6k7Y7ibGUn0N3mwSqZXQAL7dvPhg/FeJlnDXOsGyJ9++O 61mOsnW2N6ZlgcIiT13UvUmtWXKPvf+wr+NPBej+eMYN/nM4ih0JMTQXQos2nTqeqD/F DWXjSP0kUobSI9Mo9RpYY9UWw5x86/lD92jgz38/0pf4mez7n1j8999nD8hnTHbiloP9 6vx7uUKDeE86rs7g65oW1p9/xHKv44a05pRrQwn92cS/Q6JT7SmZggMyudCqXcGoZ6Hm WRhcHiUOSVyVx5iE0oe9eA4XwM+68uM1XiMZPWRv2OX+PzXGHhefrAYLEdqZkPfhVUW1 Vtrw== X-Gm-Message-State: AJcUukdnUtTeb2I6BBLEm+T84SC1n67lR6qKkt0/zQn4zYyomUL1IkXQ 2IQSv77iP9TaqyCQjow+jJQ= X-Google-Smtp-Source: ALg8bN5ypCyCaYzp2SMDRfXA5h7gGHj23xEwXr7w7+m7MR6ORyDTkUXHkyqkZeO4NVSH0INbnkPjyA== X-Received: by 2002:a2e:568d:: with SMTP id k13-v6mr1558880lje.105.1546966570457; Tue, 08 Jan 2019 08:56:10 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:d033:e708:8ec7:810d]) by smtp.googlemail.com with ESMTPSA id f8sm14687989lfe.72.2019.01.08.08.56.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 08:56:09 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: krzk@kernel.org Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] ARM: dts: s5pv210: aries: Support for more devices present on Aries Date: Tue, 8 Jan 2019 17:55:59 +0100 Message-Id: <20190108165601.25708-3-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> References: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Bakker This commit enables following devices present on Aries based phones: - pwm-vibrator attached to PWM 1 - poweroff support - Atmel maXTouch touchscreen, connected to i2c2 - Broadcom BCM4329 bluetooth over uart0 Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Touchscreen irq pin should have PULL_NONE, since it's already pulled up with 2.8v - Touchscreen irq should be edge failing (like in vendor sources) --- arch/arm/boot/dts/s5pv210-aries.dtsi | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 89525e56cc7c..8ff70b856334 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -41,6 +41,13 @@ }; }; + vibrator_pwr: regulator-fixed-0 { + compatible = "regulator-fixed"; + regulator-name = "vibrator-en"; + enable-active-high; + gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>; + }; + wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; @@ -314,6 +321,22 @@ reg = <0x36>; }; }; + + vibrator: pwm-vibrator { + compatible = "pwm-vibrator"; + pwms = <&pwm 1 44642 0>; + pwm-names = "enable"; + vcc-supply = <&vibrator_pwr>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm1_out>; + }; + + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + regmap = <&pmu_syscon>; + offset = <0x681c>; /* PS_HOLD_CONTROL */ + value = <0x5200>; + }; }; &fimd { @@ -347,6 +370,23 @@ status = "okay"; }; +&i2c2 { + samsung,i2c-sda-delay = <100>; + samsung,i2c-max-bus-freq = <400000>; + samsung,i2c-slave-addr = <0x10>; + status = "okay"; + + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpj0>; + interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_irq>; + reset-gpios = <&gpj1 3 GPIO_ACTIVE_HIGH>; + }; +}; + &mfc { memory-region = <&mfc_left>, <&mfc_right>; }; @@ -372,6 +412,13 @@ samsung,pin-drv = ; }; + bt_host_wake: bt-host-wake { + samsung,pins = "gph2-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + tf_detect: tf-detect { samsung,pins = "gph3-4"; samsung,pin-function = ; @@ -384,6 +431,17 @@ samsung,pin-function = ; samsung,pin-pud = ; }; + + ts_irq: ts-irq { + samsung,pins = "gpj0-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&pwm { + samsung,pwm-outputs = <1>; }; &sdhci1 { @@ -421,6 +479,16 @@ &uart0 { status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <115200>; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake>; + shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gph2 5 GPIO_ACTIVE_HIGH>; + }; }; &uart1 { From patchwork Tue Jan 8 16:56:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10752479 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E864B13B4 for ; Tue, 8 Jan 2019 16:56:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4AF226E3C for ; Tue, 8 Jan 2019 16:56:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C575B28DC1; Tue, 8 Jan 2019 16:56:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71A2C26E3C for ; Tue, 8 Jan 2019 16:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728828AbfAHQ4P (ORCPT ); Tue, 8 Jan 2019 11:56:15 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:33467 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728559AbfAHQ4P (ORCPT ); Tue, 8 Jan 2019 11:56:15 -0500 Received: by mail-lf1-f68.google.com with SMTP id i26so3469265lfc.0; Tue, 08 Jan 2019 08:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O6vP2tUy9VuXRg7vgiWwWPbY3vNG9OBcmWv1+qDoTUA=; b=k1v9EDJvIVSooF3J5/a4H8cAszEGWnJ71U5Qj2RxHPonru18IdlJiRN2+qQ9MyOj8o QVtA/dxlgmJewngXIOliZLQ7GUMWCJytYrz3CuaDFJKhXiKAED8BVkNK6cccibABU/pf MOwkkLfx9ziTAyEDDkSZQYpMIzFiHSUYnFXuUa2a4sVaev9GjJOm7dEacAdaw/Q0+o6f 4y+SQdh9WGd5Po7mQDDg/FIW9VtkJmseHfbCVzfobqwIrsF9YUjHD+IFFtsv+DFG/YZs Iobn5fVXH4CAWpMI94Bh5RIA29S8N/A8TisARNw6xCHKgZlaDtWm6n8xQL71dJ4NF6Xr 6vUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O6vP2tUy9VuXRg7vgiWwWPbY3vNG9OBcmWv1+qDoTUA=; b=r97/7g4bCMC2//2IinPi/HqbKfX4IRNe7GjqlReuUB3L0lB1KhT71FR+VdJDGn95ke cbcZ8bIAKb5K0FKn1cpVAzZNMJ0nh2puDXQLU4/FVCgmcIHFtQcv51VYrEoG0/DCdss+ ttCvtDDd2eDl4e9B+OymDEfr1EBwdmEZupAtxUIobvDXwD2JUyP3JUlx2r4YGmdhEU5p nhnZvmxawIEugqk0CU6Uo/9ntCy++6wQ5Q7uUe2kamtcWud1OHVx1Vzu1Vv8GIteuf/B zsCIkRIDzySwd6ojX4kIQt0frL7w7wtIU5iYn7PGmNAQPwFSWzFvE3J+Qce+TTiN1AR/ jYKg== X-Gm-Message-State: AJcUukfI2zHBOXOY9L/0WXS/SvqVRDMHPFHmCqIFUOBvVxtM6P1/J26w hdN10w4NPgUa9JQ2E4reuWA= X-Google-Smtp-Source: ALg8bN5JWkx9Iz6hBHw8buqUsoG7CsiONz/7/dji3w2ArYPNIW9f6S9k2uuUBpVYg3pHrzW4H7wWkg== X-Received: by 2002:a19:200b:: with SMTP id g11mr1456972lfg.58.1546966571781; Tue, 08 Jan 2019 08:56:11 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:d033:e708:8ec7:810d]) by smtp.googlemail.com with ESMTPSA id f8sm14687989lfe.72.2019.01.08.08.56.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 08:56:11 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: krzk@kernel.org Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] ARM: defconfig: s5pv210: Run make savedefconfig Date: Tue, 8 Jan 2019 17:56:00 +0100 Message-Id: <20190108165601.25708-4-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> References: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is result of running savedefconfig. It's preparation for adding support for more hw present on Samsung Aries based devices. Signed-off-by: Paweł Chmiel --- arch/arm/configs/s5pv210_defconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index a077597369f1..0159636d4c0d 100644 --- a/arch/arm/configs/s5pv210_defconfig +++ b/arch/arm/configs/s5pv210_defconfig @@ -1,24 +1,24 @@ CONFIG_SYSVIPC=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y CONFIG_CGROUPS=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_PARTITION_ADVANCED=y -CONFIG_BSD_DISKLABEL=y -CONFIG_SOLARIS_X86_PARTITION=y CONFIG_ARCH_S5PV210=y CONFIG_VMSPLIT_2G=y -CONFIG_PREEMPT=y CONFIG_ARM_APPENDED_DTB=y CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc" CONFIG_VFP=y CONFIG_NEON=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_BLK_DEV_BSG is not set +CONFIG_PARTITION_ADVANCED=y +CONFIG_BSD_DISKLABEL=y +CONFIG_SOLARIS_X86_PARTITION=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y @@ -87,6 +87,7 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y +CONFIG_CRC_CCITT=y CONFIG_DEBUG_INFO=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y @@ -99,4 +100,3 @@ CONFIG_DEBUG_USER=y CONFIG_DEBUG_LL=y CONFIG_DEBUG_S3C_UART1=y CONFIG_EARLY_PRINTK=y -CONFIG_CRC_CCITT=y From patchwork Tue Jan 8 16:56:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10752481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44AE2746 for ; Tue, 8 Jan 2019 16:56:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3409726E3C for ; Tue, 8 Jan 2019 16:56:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27A0428DC1; Tue, 8 Jan 2019 16:56:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABC0726E3C for ; Tue, 8 Jan 2019 16:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728788AbfAHQ4Y (ORCPT ); Tue, 8 Jan 2019 11:56:24 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:35212 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728712AbfAHQ4P (ORCPT ); Tue, 8 Jan 2019 11:56:15 -0500 Received: by mail-lf1-f66.google.com with SMTP id e26so3464016lfc.2; Tue, 08 Jan 2019 08:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9OvXwhCxM1xt9LzERNCzqQZpA6Q4+BEkTsZDw6x8xAY=; b=FZkVdldLnxOjxCc/kM2yZ1u7C8PnG93EeYuHqIWVIbzRq//gDBuuXImP9AkoU3Z/uY nsxzzWVmtSi7KfKpOgLOSmIvhT0jB0F7hQ8LlFc4MBHN0+CwbhlkfDk27tBMkFvGz8K4 N96fwkBPP8usIX0511fM6DtsFmjMm1pErvfaYXIx9TAqh9Qf6hw/TNsJJkHJ6UTfNJYf qOSw1d0h/4Qqgwq3iZ1q1jwH8fKRDmvd/PZIBN5y2p2wW3bc6TjOA1AmZJOwlIjGZFDj PCnyUSh0U3cbK0W6M8bq8T9Q06ZhwpIN2YxrfLuEKcUFL3jfOeoUYfnjXH25V1iBshkj IqIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9OvXwhCxM1xt9LzERNCzqQZpA6Q4+BEkTsZDw6x8xAY=; b=Hjo7KioFQFf85VPjCSizRTGQjkGdlwflba4OVBfdJsBIMt+pPAQ4REDjpvUsPXacnw j89kubvAxC1rlr2VgAW3gX/DzHNNZQMdW2KyVvrP1YJXpRYHa/jgywGdRjppuVnmawqi HD3J2qkXnVZ1m4HzcoksH7upLw95rsDQimyKqWEhDbHRbyeGYu96N2OCbIaXXk5uEV/A ir5tnjQufyeB2PuzfT/+dAfiOeYU3LQceC7exTRdlXrQUWnzlZAMO0CnheFVRnUINwGC /fstBJPCqFNZSNvLV86TduoYMbCfhIhZBhTSRJG677A1IEyb0UrRA3al+9TPuOp4Zaz6 oNYw== X-Gm-Message-State: AJcUukddUYSJzaYBa1F7v+g5sykHSXINpMMXbJpgAIxWXCMY2y8rfZI5 uZbzrjFfdhMuTaRcoK25o4E= X-Google-Smtp-Source: ALg8bN6zN9PKHP7RMlsjyM6/i6cKoC2Pn/kP532vlyE5Im2xZ/tntbC1JpqgRVvuWNwwKp/iSa/ykQ== X-Received: by 2002:a19:f20:: with SMTP id e32mr1544783lfi.51.1546966573132; Tue, 08 Jan 2019 08:56:13 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:d033:e708:8ec7:810d]) by smtp.googlemail.com with ESMTPSA id f8sm14687989lfe.72.2019.01.08.08.56.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 08:56:12 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: krzk@kernel.org Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] ARM: defconfig: s5pv210: Enable more drivers present on Samsung Aries Date: Tue, 8 Jan 2019 17:56:01 +0100 Message-Id: <20190108165601.25708-5-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> References: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This commit enables following drivers: - i2c support (using s3c2410 driver) - s5p-jpeg - s5p-mfc - exynos drm rotator - pwm support - pwm vibrator - fixed regulator - syscon poweroff - Atmel maXTouch touchscreen - Broadcom BCM4329 bluetooth over uart0 - dma devices (so we can use pl330 dma driver) Disable DEBUG_LL. It's currently set to uart1, but if we want to use it on Aries, we would need to switch it to uart2, to get any logs. Signed-off-by: Paweł Chmiel Signed-off-by: Jonathan Bakker --- arch/arm/configs/s5pv210_defconfig | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index 0159636d4c0d..951196bdf008 100644 --- a/arch/arm/configs/s5pv210_defconfig +++ b/arch/arm/configs/s5pv210_defconfig @@ -27,6 +27,11 @@ CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y +CONFIG_BT=m +CONFIG_BT_RFCOMM=y +CONFIG_BT_BNEP=y +CONFIG_BT_HCIUART=m +CONFIG_BT_HCIUART_BCM=y CONFIG_CFG80211=m CONFIG_MAC80211=m CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" @@ -44,21 +49,35 @@ CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_TOUCHSCREEN_ATMEL_MXT=m +CONFIG_INPUT_MISC=y +CONFIG_INPUT_PWM_VIBRA=m CONFIG_SERIAL_8250=y CONFIG_SERIAL_SAMSUNG=y CONFIG_SERIAL_SAMSUNG_CONSOLE=y +CONFIG_SERIAL_DEV_BUS=y CONFIG_HW_RANDOM=y CONFIG_I2C_GPIO=y +CONFIG_I2C_S3C2410=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_SYSCON_POWEROFF=y CONFIG_POWER_SUPPLY=y CONFIG_BATTERY_MAX17040=y # CONFIG_HWMON is not set CONFIG_MFD_MAX8998=y CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_MAX8998=y +CONFIG_MEDIA_SUPPORT=m +CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_V4L_MEM2MEM_DRIVERS=y +CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m +CONFIG_VIDEO_SAMSUNG_S5P_MFC=m CONFIG_DRM=y CONFIG_DRM_EXYNOS=y CONFIG_DRM_EXYNOS_FIMD=y CONFIG_DRM_EXYNOS_DPI=y +CONFIG_DRM_EXYNOS_ROTATOR=y CONFIG_USB=y CONFIG_USB_OTG=y CONFIG_USB_EHCI_HCD=y @@ -72,6 +91,9 @@ CONFIG_MMC_SDHCI_S3C=y CONFIG_MMC_SDHCI_S3C_DMA=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX8998=m +CONFIG_DMADEVICES=y +CONFIG_PWM=y +CONFIG_PWM_SAMSUNG=y CONFIG_PHY_SAMSUNG_USB2=m CONFIG_PHY_S5PV210_USB2=y CONFIG_EXT2_FS=y @@ -97,6 +119,3 @@ CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_DEBUG_USER=y -CONFIG_DEBUG_LL=y -CONFIG_DEBUG_S3C_UART1=y -CONFIG_EARLY_PRINTK=y