Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding
On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > Signed-off-by: Bjorn Andersson> --- > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > ++ > 1 file changed, 76 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > diff --git > a/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > new file mode 100644 > index ..7b314b9f30af > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > @@ -0,0 +1,76 @@ > +Qualcomm WCN36xx WiFi Binding > + > +This binding describes the Qualcomm WCN36xx WiFi hardware. The hardware block > +is part of the Qualcomm WCNSS core, a WiFi/BT/FM combo chip, found in a > variety > +of Qualcomm platforms. Are BT/FM functions completely separate? If so, separate bindings are okay. If not, then we need to describe the full chip. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding
On Tue 29 Dec 10:34 PST 2015, Rob Herring wrote: > On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > Signed-off-by: Bjorn Andersson> > --- > > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > > ++ > > 1 file changed, 76 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > > > diff --git > > a/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > new file mode 100644 > > index ..7b314b9f30af > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > @@ -0,0 +1,76 @@ > > +Qualcomm WCN36xx WiFi Binding > > + > > +This binding describes the Qualcomm WCN36xx WiFi hardware. The hardware > > block > > +is part of the Qualcomm WCNSS core, a WiFi/BT/FM combo chip, found in a > > variety > > +of Qualcomm platforms. > > Are BT/FM functions completely separate? If so, separate bindings are > okay. If not, then we need to describe the full chip. > It's three different hardware blocks (WiFi, BT and FM-radio) with shared RF-hardware and an ARM core for control logic. There seems to be some control commands going towards the BT part that controls coexistence properties of the RF-hardware, but other than that I see it as logically separate blocks. So I think it's fine to model this as separate pieces in DT. Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding
On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > Signed-off-by: Bjorn Andersson> --- > + > +- qcom,wcnss-mmio: > + Usage: required > + Value type: nit: encoded > + Definition: should specify base address and size of the WiFi related > + registers of WCNSS > + > +- qcom,state: > + Usage: required > + Value type: > + Definition: should specify the tx-enable and tx-ring-empty state > + references > + Otherwise looks good. Reviewed-by: Andy Gross -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 3/4] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding
On Sun, Dec 27, 2015 at 05:15:45PM -0800, Bjorn Andersson wrote: > The document defines the binding for a component that loads firmware for > and boots the Qualcomm WCNSS core. > > Signed-off-by: Bjorn Andersson> --- > > Changes since v1: > - Dropped custom properties for firmware-name and crash-reason > > .../bindings/remoteproc/qcom,wcnss-pil.txt | 92 > ++ > 1 file changed, 92 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt Seems reasonable to me. I'd like to see some acks from QC folks. Acked-by: Rob Herring > +- clock-names: > + Usage: requireduired typo -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 3/4] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding
On Sun, Dec 27, 2015 at 05:15:45PM -0800, Bjorn Andersson wrote: > The document defines the binding for a component that loads firmware for > and boots the Qualcomm WCNSS core. > > Signed-off-by: Bjorn Andersson> --- Acked-by: Andy Gross -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding
On Tue, Dec 29, 2015 at 11:03:57AM -0800, Bjorn Andersson wrote: > On Tue 29 Dec 10:34 PST 2015, Rob Herring wrote: > > > On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > > > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > > Signed-off-by: Bjorn Andersson> > > --- > > > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > > > ++ > > > 1 file changed, 76 insertions(+) > > > create mode 100644 > > > Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > > > > > diff --git > > > a/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > > b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > > new file mode 100644 > > > index ..7b314b9f30af > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wifi.txt > > > @@ -0,0 +1,76 @@ > > > +Qualcomm WCN36xx WiFi Binding > > > + > > > +This binding describes the Qualcomm WCN36xx WiFi hardware. The hardware > > > block > > > +is part of the Qualcomm WCNSS core, a WiFi/BT/FM combo chip, found in a > > > variety > > > +of Qualcomm platforms. > > > > Are BT/FM functions completely separate? If so, separate bindings are > > okay. If not, then we need to describe the full chip. > > > > It's three different hardware blocks (WiFi, BT and FM-radio) with shared > RF-hardware and an ARM core for control logic. > > There seems to be some control commands going towards the BT part that > controls coexistence properties of the RF-hardware, but other than that > I see it as logically separate blocks. > > > So I think it's fine to model this as separate pieces in DT. Okay. Acked-by: Rob Herring -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver
Hi Gilad, [auto build test WARNING on net/master] [also build test WARNING on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151230-095104 config: x86_64-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up': >> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:9: warning: large integer >> implicitly truncated to unsigned type [-Woverflow] writel(~DIS_INT, adpt->base + EMAC_INT_STATUS); ^ vim +1090 drivers/net/ethernet/qualcomm/emac/emac-mac.c 1074 } 1075 } 1076 1077 ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq); 1078 if (ret) { 1079 netdev_err(adpt->netdev, 1080 "error:%d on request_irq(%d:%s flags:0)\n", ret, 1081 irq->irq, EMAC_MAC_IRQ_RES); 1082 goto err_request_irq; 1083 } 1084 1085 emac_mac_rx_descs_refill(adpt, >rx_q); 1086 1087 napi_enable(>rx_q.napi); 1088 1089 /* enable mac irq */ > 1090 writel(~DIS_INT, adpt->base + EMAC_INT_STATUS); 1091 writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK); 1092 1093 netif_start_queue(netdev); 1094 clear_bit(EMAC_STATUS_DOWN, >status); 1095 1096 /* check link status */ 1097 set_bit(EMAC_STATUS_TASK_LSC_REQ, >status); 1098 adpt->link_chk_timeout = jiffies + EMAC_TRY_LINK_TIMEOUT; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver
Hi Gilad, [auto build test WARNING on net/master] [also build test WARNING on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151230-095104 config: ia64-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All warnings (new ones prefixed by >>): In file included from arch/ia64/include/asm/smp.h:20:0, from include/linux/smp.h:59, from include/linux/topology.h:33, from include/linux/gfp.h:8, from include/linux/slab.h:14, from include/linux/textsearch.h:8, from include/linux/skbuff.h:30, from include/linux/tcp.h:21, from drivers/net/ethernet/qualcomm/emac/emac-mac.c:16: drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up': arch/ia64/include/asm/io.h:394:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define writel(v,a) __writel((v), (a)) ^ >> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:2: note: in expansion of >> macro 'writel' writel(~DIS_INT, adpt->base + EMAC_INT_STATUS); ^ vim +/writel +1090 drivers/net/ethernet/qualcomm/emac/emac-mac.c 1074 } 1075 } 1076 1077 ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq); 1078 if (ret) { 1079 netdev_err(adpt->netdev, 1080 "error:%d on request_irq(%d:%s flags:0)\n", ret, 1081 irq->irq, EMAC_MAC_IRQ_RES); 1082 goto err_request_irq; 1083 } 1084 1085 emac_mac_rx_descs_refill(adpt, >rx_q); 1086 1087 napi_enable(>rx_q.napi); 1088 1089 /* enable mac irq */ > 1090 writel(~DIS_INT, adpt->base + EMAC_INT_STATUS); 1091 writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK); 1092 1093 netif_start_queue(netdev); 1094 clear_bit(EMAC_STATUS_DOWN, >status); 1095 1096 /* check link status */ 1097 set_bit(EMAC_STATUS_TASK_LSC_REQ, >status); 1098 adpt->link_chk_timeout = jiffies + EMAC_TRY_LINK_TIMEOUT; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data